https://bugs.llvm.org/show_bug.cgi?id=37880

            Bug ID: 37880
           Summary: -mzero-caller-saved-regs
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

GCC has added ways of specifying that certain registers should be zero'd upon
function return.  I believe this is to help cut down on gadgets used in ROP
chains.  Is this something that could be added in Clang?

https://github.com/clearlinux-pkgs/gcc/blob/master/zero-regs-gcc8.patch

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to