[llvm-bugs] [Bug 37880] New: -mzero-caller-saved-regs

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 20 09:22:52 PDT 2018


            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: unassignedclangbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: jyknight at google.com, klimek at google.com,
                    llozano at chromium.org, llvm-bugs at lists.llvm.org,
                    manojgupta at google.com, niravd at google.com,
                    srhines at google.com

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?


You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180620/c11f5123/attachment-0001.html>

More information about the llvm-bugs mailing list