diff options
Diffstat (limited to 'lib/Basic/Targets/AVR.h')
-rw-r--r-- | lib/Basic/Targets/AVR.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Basic/Targets/AVR.h b/lib/Basic/Targets/AVR.h index 3dfb84f756684..d595f48e8ef7c 100644 --- a/lib/Basic/Targets/AVR.h +++ b/lib/Basic/Targets/AVR.h @@ -55,7 +55,7 @@ public: WIntType = SignedInt; Char32Type = UnsignedLong; SigAtomicType = SignedChar; - resetDataLayout("e-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8"); + resetDataLayout("e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8"); } void getTargetDefines(const LangOptions &Opts, @@ -167,6 +167,7 @@ public: } bool isValidCPUName(StringRef Name) const override; + void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override; bool setCPU(const std::string &Name) override { bool isValid = isValidCPUName(Name); if (isValid) |