[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [CMake] Fold export_executable_symbols_* into function args. (PR #101741)

Lang Hames via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 5 18:49:08 PDT 2024


================
@@ -14,5 +14,3 @@ set(LLVM_LINK_COMPONENTS
 add_kaleidoscope_chapter(BuildingAJIT-Ch1
   toy.cpp
   )
-
-export_executable_symbols(BuildingAJIT-Ch1)
----------------
lhames wrote:

All tutorial exercises and examples that currently use `export_executable_symbols` will now need `EXPORT_SYMBOLS`. The example/tutorial tests are off by default and Darwin exports symbols by default so we may not see any immediate bot failures, but the tests will fail on Linux where symbols are not exported by default.

https://github.com/llvm/llvm-project/pull/101741


More information about the cfe-commits mailing list