[PATCH] D25888: Add support for __builtin_os_log_format[_buffer_size]

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 24 16:02:41 PDT 2016


tra added a comment.

CodeGen's CMakeLists.txt needs to be updated to link with clangAnalysis now, otherwise it breaks builds that use shared libraries.
Fixed in r285037.

  diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt
  index f5d5d69..9cf34f6 100644
  --- a/lib/CodeGen/CMakeLists.txt
  +++ b/lib/CodeGen/CMakeLists.txt
  @@ -88,6 +88,7 @@ add_clang_library(clangCodeGen
   
     LINK_LIBS
     clangAST
  +  clangAnalysis
     clangBasic
     clangFrontend
     clangLex


Repository:
  rL LLVM

https://reviews.llvm.org/D25888





More information about the cfe-commits mailing list