libclang is somewhat incomplete. It's just enough to get check-clang to pass, but that requires it to be pretty complete. The biggest thing is that it's not built as a shared library on Linux. The libclang/BUILD.gn file has a comment with details on what else is missing.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
llvm/utils/gn/secondary/clang/tools/libclang/BUILD.gn | ||
---|---|---|
16–17 | We can solve this with toolchains, i.e. have a variant of the default toolchain that includes -fPIC which will be used to build libClang.so. Not something to do in this change, but definitely something we should look into in the future. |
Comment Actions
Thanks
llvm/utils/gn/secondary/clang/tools/libclang/BUILD.gn | ||
---|---|---|
16–17 | Yup! I think we want several mechanisms:
|
We can solve this with toolchains, i.e. have a variant of the default toolchain that includes -fPIC which will be used to build libClang.so. Not something to do in this change, but definitely something we should look into in the future.