[llvm-bugs] [Bug 40057] New: Emit longjmp target tables under /guard:cf, nochecks so users don't need /guard:cf, nolongjmp

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 17 14:39:09 PST 2018


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

            Bug ID: 40057
           Summary: Emit longjmp target tables under /guard:cf,nochecks so
                    users don't need /guard:cf,nolongjmp
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: amccarth at google.com, dmajor at mozilla.com,
                    hans at chromium.org, llvm-bugs at lists.llvm.org

Both Firefox and Chromium link with /guard:cf,nolongjmp right now because
clang-cl doesn't emit the control flow guard tables of setjmp return addresses.
Eventually, we may want to implement full control flow guard, but at the very
least, we can emit every setjmp return address to make it so that users don't
have to pass this extra linker flag.

Hans added the "nochecks" option back in https://reviews.llvm.org/D50513 /
r339420.

-- 
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/20181217/957b6b82/attachment.html>


More information about the llvm-bugs mailing list