]> granicus.if.org Git - clang/commitdiff
[AVR] Set the program address space in the data layout
authorDylan McKay <me@dylanmckay.io>
Mon, 19 Feb 2018 10:46:16 +0000 (10:46 +0000)
committerDylan McKay <me@dylanmckay.io>
Mon, 19 Feb 2018 10:46:16 +0000 (10:46 +0000)
This is accompanied by r325481 in LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325483 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets/AVR.h

index f7ada01a5209eabaf0a7f5de9fb7e38b8adbdff8..d595f48e8ef7c3e4bab2346b58ed2704b93bd2d7 100644 (file)
@@ -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,