- Feb 01, 2019
-
-
Fangrui Song authored
llvm-svn: 352872
-
- Jan 26, 2019
-
-
Nico Weber authored
libclang can be built in shared or static mode. On Windows, with LLVM_ENABLE_PIC=OFF, it was built in neither mode, leading to clients of libclang (c-index-test, c-arcmt-test) failing to link with it set. Since PIC isn't really a thing on Windows, build libclang in shared mode when LLVM_ENABLE_PIC=OFF there. This is also somewhat symmetric with the existing ENABLE_STATIC a few lines down. Differential Revision: https://reviews.llvm.org/D57258 llvm-svn: 352253
-
- Dec 15, 2018
-
-
Fangrui Song authored
[libclang] Add dependency on clangSerialization to unbreak -DBUILD_SHARED_LIBS=1 build after rC349237 Frontend headers have undefined reference on the symbol `clang::PCHContainerOperations::PCHContainerOperations()` through some shared_ptr usage. Any dependents will get the undefined reference which can only be resolved by explicit dependency on clangSerialization (due to -z defs). llvm-svn: 349259
-
Richard Trieu authored
Remove unneeded includes Add needed include Remove dependency on Serialization llvm-svn: 349237
-
- Dec 12, 2018
-
-
Fangrui Song authored
Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build This is a more thorough fix of rC348911. The story about -DBUILD_SHARED_LIBS=on build after rC348907 (Move PCHContainerOperations from Frontend to Serialization) is: 1. libclangSerialization.so defines PCHContainerReader dtor, ... 2. clangFrontend and clangTooling define classes inheriting from PCHContainerReader, thus their DSOs have undefined references on PCHContainerReader dtor 3. Components depending on either clangFrontend or clangTooling cannot be linked unless they have explicit dependency on clangSerialization due to the default linker option -z defs. The explicit dependency could be avoided if libclang{Frontend,Tooling}.so had these undefined references. This patch adds the explicit dependency on clangSerialization to make them build. llvm-svn: 348915
-
- Dec 10, 2018
-
-
Ivan Donchevskii authored
Differential Revision: https://reviews.llvm.org/D55415 llvm-svn: 348764
-
- Nov 23, 2018
-
-
Benjamin Kramer authored
clangd does a better job on both of these, so don't slow down everyone's build for a poorly working libclang feature. llvm-svn: 347496
-
- Aug 21, 2018
-
-
Saleem Abdulrasool authored
Add installation support for the python bindings for libclang. Add an additional CMake configuration variable to enumerate the python versions for which the bindings should be installed. This allows for a LLVM/clang distribution to distribute the python bindings for libclang as part of the image. Because the python versions need to be explicitly stated by the user, the default image remains unchanged. llvm-svn: 340228
-
- Apr 23, 2018
-
-
Nico Weber authored
llvm-svn: 330633
-
- Nov 30, 2017
-
-
Shoaib Meenai authored
Use this function to create the install targets rather than doing so manually, which gains us the `-stripped` install targets to perform stripped installations. Differential Revision: https://reviews.llvm.org/D40675 llvm-svn: 319489
-
- Nov 04, 2017
-
-
Aaron Ballman authored
Move the libclang-headers project into the Misc folder on IDEs like Visual Studio rather than leave it in the root directory. NFC. llvm-svn: 317417
-
- Nov 02, 2017
-
-
Shoaib Meenai authored
`LLVM_DISTRIBUTION_COMPONENTS` assumes that each component has both `component` and `install-component` targets. Add a dummy no-op target for `libclang-headers` to placate this check. Differential Revision: https://reviews.llvm.org/D39524 llvm-svn: 317188
-
- Jul 31, 2017
-
-
NAKAMURA Takumi authored
CLANG_TOOL_EXTRA_BUILD doesn't affect headers. _CINDEX_LIB_ is defined when the target is SHARED. On Win32, it affects clang-c/Platform.h and it shouldn't be ignored. This is part of https://reviews.llvm.org/D35559 llvm-svn: 309557
-
- Nov 17, 2016
-
-
Benjamin Kramer authored
include-fixer only slightly bloats the size of libclang, but since libclang has no explicit plugin mechanism it's the only way of getting this to work. Clang-tidy is already there and so far there weren't many complaints ;) This is designed to be easy to remove again if libclang ever grows proper plugin support. llvm-svn: 287229
-
- Mar 03, 2016
-
-
NAKAMURA Takumi authored
llvm-svn: 262606
-
Benjamin Kramer authored
This is a sad workaround for the lack of plugin support in libclang. Depends on D17807, a tools-extra change that also contains the test case. This is designed to be easy to remove again if libclang ever grows proper plugin support. Differential Revision: http://reviews.llvm.org/D17808 llvm-svn: 262596
-
- Feb 13, 2016
-
-
NAKAMURA Takumi authored
llvm-svn: 260802
-
Argyrios Kyrtzidis authored
[libclang] Separate the underlying indexing functionality of libclang and introduce it into the clangIndex library. It is a general goodness for libclang itself to mostly be a wrapper of functionality provided by the libraries. llvm-svn: 260760
-
- Jan 14, 2016
-
-
Chris Bieneman authored
This makes it so if you disable building libclang you won't install the headers as part of the 'install' target. llvm-svn: 257828
-
- Nov 12, 2015
-
-
Argyrios Kyrtzidis authored
Also don't create libclang dylib symlinks on darwin. llvm-svn: 252836
-
- Oct 14, 2015
-
-
Chris Bieneman authored
This is to match autoconf where LLVM_SUBMIT_SUBVERSION is usually set to ${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}. llvm-svn: 250278
-
Chris Bieneman authored
[CMake]Getting rid of references to LLVM_SUBMIT_VERSION and LLVM_SUBMIT_SUBVERSION in favor of LLVM_VERSION_MAJOR and LLVM_VERSION_MINOR. LLVM_SUBMIT_VERSION and LLVM_SUBMIT_SUBVERSION are commonly used variable names in the autoconf build system. They seem to have leeched into clang's CMake in a few places, and should just be replaced by the LLVM_VERSION_* variables where appropriate. llvm-svn: 250246
-
- Jul 17, 2015
-
-
Adrian Prantl authored
- introduces a new cc1 option -fmodule-format=[raw,obj] with 'raw' being the default - supports arbitrary module container formats that libclang is agnostic to - adds the format to the module hash to avoid collisions - splits the old PCHContainerOperations into PCHContainerWriter and a PCHContainerReader. Thanks to Richard Smith for reviewing this patch! llvm-svn: 242499
-
- Jul 08, 2015
-
-
NAKAMURA Takumi authored
llvm-svn: 241661
-
Adrian Prantl authored
of the llvm targets from clang/CodeGen into ClangCheck.cpp and CIndex.cpp. llvm-svn: 241653
-
Adrian Prantl authored
llvm-svn: 241642
-
- Jul 07, 2015
-
-
Adrian Prantl authored
This patch adds ObjectFilePCHContainerOperations uses the LLVM backend to put the contents of a PCH into a __clangast section inside a COFF, ELF, or Mach-O object file container. This is done to facilitate module debugging by makeing it possible to store the debug info for the types defined by a module alongside the AST. rdar://problem/20091852 llvm-svn: 241620
-
- Feb 25, 2015
-
-
Adrian Prantl authored
llvm-svn: 230454
-
Adrian Prantl authored
This is a necessary prerequisite for debugging with modules. The .pcm files become containers that hold the serialized AST which allows us to store debug information in the module file that can be shared by all object files that were built importing the module. This reapplies r230044 with a fixed configure+make build and updated dependencies and testcase requirements. Over the last iteration this version adds - missing target requirements for testcases that specify an x86 triple, - a missing clangCodeGen.a dependency to libClang.a in the make build. rdar://problem/19104245 llvm-svn: 230423
-
- Feb 24, 2015
-
-
Adrian Prantl authored
This reverts commit r230305. Off to fix another round of missing dependencies on various platforms. llvm-svn: 230309
-
Adrian Prantl authored
This is a necessary prerequisite for debugging with modules. The .pcm files become containers that hold the serialized AST which allows us to store debug information in the module file that can be shared by all object files that were built importing the module. rdar://problem/19104245 This reapplies r230044 with a fixed configure+make build and updated dependencies. Take 3. llvm-svn: 230305
-
- Feb 21, 2015
-
-
Adrian Prantl authored
This reverts commit 230099. The Linux configure+make build variant still needs some work. llvm-svn: 230103
-
Adrian Prantl authored
This is a necessary prerequisite for debugging with modules. The .pcm files become containers that hold the serialized AST which allows us to store debug information in the module file that can be shared by all object files that were built importing the module. rdar://problem/19104245 This reapplies r230044 with a fixed configure+make build and updated dependencies. Take 2. llvm-svn: 230089
-
- Feb 20, 2015
-
-
Adrian Prantl authored
This reverts commit r230067. Investigating another batch of problems found by the bots. llvm-svn: 230073
-
Adrian Prantl authored
This is a necessary prerequisite for debugging with modules. The .pcm files become containers that hold the serialized AST which allows us to store debug information in the module file that can be shared by all object files that were built importing the module. rdar://problem/19104245 This reapplies r230044 with a fixed configure+make build and updated dependencies. llvm-svn: 230067
-
Adrian Prantl authored
This reverts commit r230044 while dealing with buildbot breakage. Conflicts: test/Modules/module_container.m llvm-svn: 230052
-
Adrian Prantl authored
This is a necessary prerequisite for debugging with modules. The .pcm files become containers that hold the serialized AST which allows us to store debug information in the module file that can be shared by all object files that were built importing the module. rdar://problem/19104245 llvm-svn: 230044
-
- Jan 20, 2015
-
-
Rafael Espindola authored
This is in preparation for changing the link to use -Wl,-z,defs. llvm-svn: 226609
-
- Oct 30, 2014
-
-
NAKAMURA Takumi authored
llvm-svn: 220893
-
- Aug 02, 2014
-
-
NAKAMURA Takumi authored
llvm-svn: 214616
-