[LLVMbugs] [Bug 19272] New: [clang-cl] Assertion failed: Target.getSymA() != NULL && "Relocation must reference a symbol!", file ..\lib\MC\WinCOFFObjectWriter.cpp, line 660

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 28 02:06:35 PDT 2014


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: unassignedclangbugs at nondot.org
          Reporter: timurrrr at google.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140328/18f79018/attachment.html>


More information about the llvm-bugs mailing list