llvm-project/llvm/lib/TableGen/CMakeLists.txt
Reid Kleckner 0a27c4e318
[StrTable] Use string literal emission for intrinsics on non-MSVC platforms (#124856)
This mainly transitions the LLVM intrinsic string table from character
emission to string literal emission, which I confirmed happens for me
locally.

I moved the guts of StringToOffsetTable to a cpp file so I could move
the `EmitLongStrLiterals` cl::opt global to a non-vague linkage home in
the `TableGen` library. I had to add missing FormatVariadic.h includes
to account for moving other includes to a cpp file.
2025-04-13 17:58:53 +02:00

23 lines
393 B
CMake

add_llvm_component_library(LLVMTableGen
DetailedRecordsBackend.cpp
Error.cpp
JSONBackend.cpp
Main.cpp
Parser.cpp
Record.cpp
SetTheory.cpp
StringMatcher.cpp
StringToOffsetTable.cpp
TableGenBackend.cpp
TableGenBackendSkeleton.cpp
TGLexer.cpp
TGParser.cpp
TGTimer.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/TableGen
LINK_COMPONENTS
Support
)