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: unassignedb...@nondot.org
          Reporter: paul_robin...@playstation.sony.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to