Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Commit f5a3a0d

Browse files
committed
Disable 1, 8 and 16-bit int on thumbv7
This is a workaround against LLVM Assertion. Looks like it'a a bug since Cortex-M3 and Cortex-M4 do support unaligned access.
1 parent e074f5e commit f5a3a0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

thumbv7em-none-eabi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"arch": "arm",
33
"cpu": "cortex-m4",
4-
"data-layout": "e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:64-v128:64:128-a:0:32-n32-S64",
4+
"data-layout": "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64",
55
"disable-redzone": true,
66
"executables": true,
77
"llvm-target": "thumbv7em-none-eabi",

thumbv7m-none-eabi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"arch": "arm",
33
"cpu": "cortex-m3",
4-
"data-layout": "e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:64-v128:64:128-a:0:32-n32-S64",
4+
"data-layout": "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64",
55
"disable-redzone": true,
66
"executables": true,
77
"llvm-target": "thumbv7m-none-eabi",

0 commit comments

Comments
 (0)