[llvm-bugs] [Bug 30419] New: [ThinLTO] Assertion `GV.hasName() && "Can't get GlobalValueSummary for GV with no name"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 16 12:59:56 PDT 2016


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

            Bug ID: 30419
           Summary: [ThinLTO] Assertion `GV.hasName() && "Can't get
                    GlobalValueSummary for GV with no name"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17286
  --> https://llvm.org/bugs/attachment.cgi?id=17286&action=edit
Crash log

Another random-testing crash, we get this one with either
`-flto=thin --coverage` or `-flto=thin -fsanitize=undefined`.

$ cat bz157339.cpp
struct X { ~X() {}; };
int main() { X x; }
$ clang bz157339.cpp -flto=thin --coverage
clang-4.0:
/home/probinson/projects/llvm-org/trunk/llvm/include/llvm/IR/ModuleSummaryIndex.h:432:
llvm::GlobalValueSummary* llvm::ModuleSummaryIndex::getGlobalValueSummary(const
llvm::GlobalValue&, bool) const: Assertion `GV.hasName() && "Can't get
GlobalValueSummary for GV with no name"' failed.

Full crash log attached.  Diffing this one and the one with ubsan
didn't show any significant differences.

-- 
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/20160916/60bef9b0/attachment.html>


More information about the llvm-bugs mailing list