https://bugs.llvm.org/show_bug.cgi?id=45809
Bug ID: 45809
Summary: libclang has no registered targets after r371787
Product: clang
Version: 10.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: libclang
Assignee: unassignedclangb...@nondot.org
Reporter: dma...@mozilla.com
CC: jkor...@apple.com, kli...@google.com,
llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
Blocks: 45309
After r371787 [0], when Rust's bindgen uses libclang, it fails with "no targets
are registered" [1].
This only happens when we build LLVM with `-DLLVM_LINK_LLVM_DYLIB=ON`.
jkorous: I'm not clear on why `LLVMSupport` was added to libclang's
CMakeLists.txt. If I remove that line, the code still compiles, and this bug
goes away. I'm not familiar with this part of the code though -- do you have
any idea what might be going on?
[0] https://reviews.llvm.org/rL371787
[1]
https://github.com/llvm/llvm-project/blob/2946cd701067404b99c39fb29dc9c74bd7193eb3/llvm/lib/Support/TargetRegistry.cpp#L66
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=45309
[Bug 45309] [meta] 10.0.1 Release Blockers
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs