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: unassignedb...@nondot.org
          Reporter: ken.dom...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to