Displaying 2 results from an estimated 2 matches for "libllvmalltargets".
2017 Nov 28
2
TargetSelect.h and layering
...o its issues yet).
The issues can be demonstrated fairly plainly by moving any/all of
TargetSelect.h's functions out of line. Pretty much all programs in LLVM
fail to link because libSupport doesn't actually depend on all the targets,
quite the opposite in fact.
So, I set about creating a libLLVMAllTargets (for want of any better
name/as a straw man) & wherever LLVM_TARGETS_TO_BUILD was listed in a
CMakeLists.txt LLVM_LINK_COMPONENTS, I'd add in a dependence on AllTargets
(& I moved all the function definitions in TargetSelect.h out of line to
flush out/prove the dependencies were right)....
2013 Feb 18
1
[LLVMdev] [llvm-c] Proposal: Make LLVMInitializeNativeTarget and co. non-inline
Hi,
when building llvm as a shared library LLVMInitializeNativeTarget and co.
(located in llvm/Support/TargetSelect) will not get
exported as symbol into the shared library, because they are static inline.
Since they are functions defined in the C API no one else inside LLVM
calls them,
which results in them not being exported.
This is, of course, no problem for C programs using the C API,