mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
83902832de
This reverts commit r218918, effectively reapplying r218914 after fixing an Ocaml bindings test and an Asan crash. The root cause of the latter was a tightened-up check in `DILexicalBlock::Verify()`, so I'll file a PR to investigate who requires the loose check (and why). Original commit message follows. -- This patch addresses the first stage of PR17891 by folding constant arguments together into a single MDString. Integers are stringified and a `\0` character is used as a separator. Part of PR17891. Note: I've attached my testcases upgrade scripts to the PR. If I've just broken your out-of-tree testcases, they might help. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219010 91177308-0d34-0410-b5e6-96231b3b80d8
43 lines
765 B
CMake
43 lines
765 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Analysis
|
|
AsmParser
|
|
Core
|
|
IPA
|
|
Support
|
|
)
|
|
|
|
set(IRSources
|
|
AttributesTest.cpp
|
|
ConstantRangeTest.cpp
|
|
ConstantsTest.cpp
|
|
DebugInfoTest.cpp
|
|
DominatorTreeTest.cpp
|
|
IRBuilderTest.cpp
|
|
InstructionsTest.cpp
|
|
LeakDetectorTest.cpp
|
|
LegacyPassManagerTest.cpp
|
|
MDBuilderTest.cpp
|
|
MetadataTest.cpp
|
|
PassManagerTest.cpp
|
|
PatternMatch.cpp
|
|
TypeBuilderTest.cpp
|
|
TypesTest.cpp
|
|
UseTest.cpp
|
|
UserTest.cpp
|
|
ValueHandleTest.cpp
|
|
ValueMapTest.cpp
|
|
ValueTest.cpp
|
|
VerifierTest.cpp
|
|
WaymarkTest.cpp
|
|
)
|
|
|
|
# HACK: Declare a couple of source files as optionally compiled to satisfy the
|
|
# missing-file-checker in LLVM's weird CMake build.
|
|
set(LLVM_OPTIONAL_SOURCES
|
|
ValueMapTest.cpp
|
|
)
|
|
|
|
add_llvm_unittest(IRTests
|
|
${IRSources}
|
|
)
|