[LLVMbugs] [Bug 20279] New: "opt" doesn't accept clang-generated IR with comdats

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 10 05:03:45 PDT 2014


            Bug ID: 20279
           Summary: "opt" doesn't accept clang-generated IR with comdats
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: timurrrr at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

=== test.cpp ===
struct X {
  virtual void f();

X::X() {}

[On win32]
$ clang -cc1 -emit-llvm -o - test.cpp | opt -asan -asan-module -S
opt: <stdin>:21:91: error: expected top-level entity
@"\01??_7X@@6B@" = unnamed_addr alias getelementptr inbounds ([2 x i8*]* @0,
i32 0, i32 1), comdat $"\01??_7X@@6B@"

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/20140710/206c3293/attachment.html>

More information about the llvm-bugs mailing list