Skip to content
  1. Feb 01, 2019
  2. Jan 26, 2019
    • Nico Weber's avatar
      Attempt to fix build on Windows with LLVM_ENABLE_PIC=OFF · e9cac31d
      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
      e9cac31d
  3. Dec 15, 2018
    • Fangrui Song's avatar
      [libclang] Add dependency on clangSerialization to unbreak... · 7643f42b
      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
      7643f42b
    • Richard Trieu's avatar
      Fix includes and dependencies for libclang · d2e5accd
      Richard Trieu authored
      Remove unneeded includes
      Add needed include
      Remove dependency on Serialization
      
      llvm-svn: 349237
      d2e5accd
  4. Dec 12, 2018
    • Fangrui Song's avatar
      Add explicit dependency on clangSerialization for a bunch of components to fix... · 5313327f
      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
      5313327f
  5. Dec 10, 2018
  6. Nov 23, 2018
  7. Aug 21, 2018
    • Saleem Abdulrasool's avatar
      libclang: add install/distribution targets for python · f02e4f90
      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
      f02e4f90
  8. Apr 23, 2018
  9. Nov 30, 2017
  10. Nov 04, 2017
  11. Nov 02, 2017
  12. Jul 31, 2017
  13. Nov 17, 2016
    • Benjamin Kramer's avatar
      Link include-fixer into libclang if clang-tools-extra is checked out. · 9eba7354
      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
      9eba7354
  14. Mar 03, 2016
  15. Feb 13, 2016
  16. Jan 14, 2016
  17. Nov 12, 2015
  18. Oct 14, 2015
  19. Jul 17, 2015
    • Adrian Prantl's avatar
      Make the clang module container format selectable from the command line. · fb2398d0
      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
      fb2398d0
  20. Jul 08, 2015
  21. Jul 07, 2015
  22. Feb 25, 2015
  23. Feb 24, 2015
  24. Feb 21, 2015
  25. Feb 20, 2015
  26. Jan 20, 2015
  27. Oct 30, 2014
  28. Aug 02, 2014
Loading