The xor'ing behaviour is only used for msvc/crt environments, when we're targeting macho the guard load code doesn't know about the xor in the epilog. Disable xor'ing when targeting win32-macho to be consistent.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM
llvm/test/CodeGen/X86/stack-protector-strong-macho-win32-xor.ll | ||
---|---|---|
45 | I would remove the attributes/annotations that aren't needed. |
I would remove the attributes/annotations that aren't needed.