[llvm-bugs] [Bug 38007] New: sigsegv in llvm::PMTopLevelManager::addImmutablePass

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 30 21:02:22 PDT 2018


            Bug ID: 38007
           Summary: sigsegv in llvm::PMTopLevelManager::addImmutablePass
           Product: new-bugs
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: gienah at gentoo.org
                CC: llvm-bugs at lists.llvm.org

The test is run on Gentoo linux amd64, with clang 6.0.1 (or 6.0.0) compiled
to use gold as its default linker:


Compiling a trivial program:

argus% cat main.c
int main(){ return 0; }

clang its a debug assertion, or crashes with a SIGSEGV when compiled without

argus% clang -save-temps -v -flto=thin
-Wl,-plugin=/usr/lib/llvm/6/lib64/LLVMgold.so main.c
clang version 6.0.1 (tags/RELEASE_601/final)
See the attached file clang-lto-plugin-sigsegv-bug-report.txt for the
stack trace.

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/20180701/4fd47885/attachment.html>

More information about the llvm-bugs mailing list