llvm-project/llvm/tools/lli
Rafael Espindola 79e238afee Delete Default and JITDefault code models
IMHO it is an antipattern to have a enum value that is Default.

At any given piece of code it is not clear if we have to handle
Default or if has already been mapped to a concrete value. In this
case in particular, only the target can do the mapping and it is nice
to make sure it is always done.

This deletes the two default enum values of CodeModel and uses an
explicit Optional<CodeModel> when it is possible that it is
unspecified.

llvm-svn: 309911
2017-08-03 02:16:21 +00:00
..
ChildTarget [CMake] lli-child-target depends on intrinsics gen 2016-11-19 02:09:51 +00:00
CMakeLists.txt Prune unused libdeps. 2016-12-08 15:28:02 +00:00
LLVMBuild.txt
OrcLazyJIT.cpp [ORC] Errorize the ORC APIs. 2017-07-07 02:59:13 +00:00
OrcLazyJIT.h [ORC] Errorize the ORC APIs. 2017-07-07 02:59:13 +00:00
RemoteJITUtils.h [Orc] Remove the memory manager argument to addModule, and de-templatize the 2017-07-04 04:42:30 +00:00
lli.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00