http://llvm.org/bugs/show_bug.cgi?id=20279
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: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
=== test.cpp ===
struct X {
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs