CVSROOT: /cvs Module name: src Changes by: morti...@cvs.openbsd.org 2024/12/25 13:18:16
Modified files: gnu/llvm/llvm/lib/CodeGen: PrologEpilogInserter.cpp Log message: The clang feature -fzero-call-used-regs attempts to zero out some registers before returning, but is not aware of the register used for retguard, so it breaks if the two features are used together. Make zero-call-used-regs aware of the retguard register. Fixes a crash reported in qemu where this zero-call-used-regs feature is used. Fix tested by brad. ok tb