llvm-project
259a11db - StackProtector: Use RuntimeLibcalls to query libcall names (#147913)

Commit
207 days ago
StackProtector: Use RuntimeLibcalls to query libcall names (#147913) The compiler should not introduce calls to arbitrary strings that aren't defined in RuntimeLibcalls. Previously OpenBSD was disabling the default __stack_chk_fail, but there was no record of the alternative __stack_smash_handler function it emits instead. This also avoids a random triple check in the pass.
Author
Parents
Loading