[llvm-bugs] [Bug 47725] New: Make longjmp optional at build time (introduce build time pendant for gCrashRecoveryEnabled)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 5 00:25:39 PDT 2020


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

            Bug ID: 47725
           Summary: Make longjmp optional at build time (introduce build
                    time pendant for gCrashRecoveryEnabled)
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: bmeurer at google.com
                CC: llvm-bugs at lists.llvm.org

There's already a runtime setting to disable crash recovery (via
gCrashRecoveryEnabled). It'd be great to have a corresponding build time flag.
The reason for this is that when compiling LLVM to WebAssembly via Emscripten,
the use of longjmp requires mandatory Emscripten post-processing at link time,
even though we never use the crash recovery machinery.

-- 
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/20201005/d48f0ae0/attachment.html>


More information about the llvm-bugs mailing list