[llvm-bugs] [Bug 35947] New: lib/Transforms/InstCombine/InstructionCombining.cpp broken -- cannot link.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 15 04:49:02 PST 2018


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

            Bug ID: 35947
           Summary: lib/Transforms/InstCombine/InstructionCombining.cpp
                    broken -- cannot link.
           Product: libraries
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedbugs at nondot.org
          Reporter: ken.domino at gmail.com
                CC: llvm-bugs at lists.llvm.org

Fix by EugeneZelenko on Oct 24 2017 broke the linking of LLVM-C applications on
Windows. LLVMInitializeInstCombine is declared extern "C" in the LLVM-C header
Initialization.h, but not declared extern "C" surrounding the definition for
the function in lib/Transforms/InstCombine/InstructionCombining.cpp. The
inconsistency can cause a link fail. It's in release_60 and master. Could
someone please fix this? One solution that works is to re-add the removed
#include "llvm-c/Initialization.h"

-- 
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/20180115/55a0488b/attachment-0001.html>


More information about the llvm-bugs mailing list