Commit c5acb3d
authored
[X86][KCFI] Do not require linux triple for kcfi-arity (#148207)
This code doesn't assume the Linux ABI, but the standard x86-64 SysV
ABI, which is used (with minor variations) by all non-Windows targets.
Requiring "linux" as the OS here is problematic, because the actual OS
(as opposed to users of the OS) is generally compiled against the "none"
target.1 parent 61a9d2c commit c5acb3d
File tree
2 files changed
+3
-2
lines changed- llvm
- lib/Target/X86
- test/CodeGen/X86
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments