http://llvm.org/bugs/show_bug.cgi?id=19272

            Bug ID: 19272
           Summary: [clang-cl] Assertion failed: Target.getSymA() != NULL
                    && "Relocation must reference a symbol!", file
                    ..\lib\MC\WinCOFFObjectWriter.cpp, line 660
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Here's a small repro:
--------------------------
struct S {
  void foo() {
    ((void (*)())0)();
  }
};

void bar() {
  S obj;
  obj.foo();
}
--------------------------

$ clang-cl -c repro.cpp

-- 
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

Reply via email to