[llvm-bugs] [Bug 41362] New: Referencing LLVMConstGEP2 or LLVMConstInBoundsGEP2 in Core.h leads to link errors

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 3 10:00:10 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41362

            Bug ID: 41362
           Summary: Referencing LLVMConstGEP2 or LLVMConstInBoundsGEP2 in
                    Core.h leads to link errors
           Product: libraries
           Version: 8.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedbugs at nondot.org
          Reporter: brenton at wolfram.com
                CC: llvm-bugs at lists.llvm.org

Undefined symbols for architecture x86_64:
  "_LLVMConstGEP2", referenced from:
      _LLVMLink_LLVMConstGEP2_Wrapper in llvmc80.cpp.o
     (maybe you meant: _LLVMLink_LLVMConstGEP2_Wrapper)
  "_LLVMConstInBoundsGEP2", referenced from:
      _LLVMLink_LLVMConstInBoundsGEP2_Wrapper in llvmc80.cpp.o
     (maybe you meant: _LLVMLink_LLVMConstInBoundsGEP2_Wrapper)


This is because LLVMConstGEP2 and LLVMConstInBoundsGEP2 are declared, but not
defined.

-- 
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/20190403/b3f1f1ad/attachment.html>


More information about the llvm-bugs mailing list