llvm-project/llvm/tools/lli
Michael Gottesman daaf9f1379 [cmake] Change lli-child-target to use add_llvm_utility instead of add_llvm_executable.
We are currently using add_llvm_utility for executable targets that:

1. Are built by default.
2. Used for testing.
3. Are not installed by default.

Originally, lli-child-target used add_llvm_tool instead of add_llvm_executable
directly. This was changed so that lli-child-target would not be installed. This
was good since this is only used for testing and should never be installed for
users. This also had the unfortunate side effect that one can never turn off the
building of lli-child-target by default, a regression for projects that by
default do not want to compile any LLVM tools beyond tablegen/llvm-config.

This patch changes lli-child-target to use add_llvm_utility. This makes sense
since:

1. lli-child-target matches the semantics of executables created with
add_llvm_utility.
2. We fix the regression since now one can use the flag LLVM_BUILD_UTILS to
eliminate default compilation.

llvm-svn: 275008
2016-07-10 02:43:50 +00:00
..
ChildTarget [cmake] Change lli-child-target to use add_llvm_utility instead of add_llvm_executable. 2016-07-10 02:43:50 +00:00
CMakeLists.txt [cmake] Change lli-child-target to use add_llvm_utility instead of add_llvm_executable. 2016-07-10 02:43:50 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
OrcLazyJIT.cpp [Orc] Merge some common code for creating CompileCallbackManagers and 2016-05-26 17:20:35 +00:00
OrcLazyJIT.h [Orc] Add conversion to/from RuntimeDyld::SymbolInfo for JITSymbol. 2016-05-31 23:14:26 +00:00
RemoteJITUtils.h [lli] Fix a sign-compare warning. 2016-04-26 01:45:25 +00:00
lli.cpp Change Archive::create() from ErrorOr<...> to Expected<...> and update 2016-06-29 20:35:44 +00:00