https://bugs.llvm.org/show_bug.cgi?id=45364
Bug ID: 45364
Summary: x86 -fcf-protection -mcmodel=large is broken
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Testcase:
void ext();
__attribute((noinline)) static void a() { ext(); }
void b() { a(); }
Compile with "clang -O2 -mcmodel=large -fcf-protection". Note the indirect
call to "a", which does not have an endbr.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs