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: unassignedb...@nondot.org
Reporter: efrie...@quicinc.com
CC: craig.top...@gmail.com, hjl.to...@gmail.com,
llvm-bugs@lists.llvm.org, llvm-...@redking.me.uk,
spatel+l...@rotateright.com, xiang1.zh...@intel.com
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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs