Skip to content

Commit ea7b1c7

Browse files
committed
Add cmake test support for LLJITWithThinLTOSummaries to make sure
it's being built and called (and substituted).
1 parent 098d3f9 commit ea7b1c7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

llvm/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ if(LLVM_BUILD_EXAMPLES)
153153
Kaleidoscope-Ch5
154154
Kaleidoscope-Ch6
155155
Kaleidoscope-Ch7
156+
LLJITWithThinLTOSummaries
156157
)
157158
if (NOT WIN32)
158159
list(APPEND LLVM_TEST_DEPENDS

llvm/test/lit.cfg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ def get_asan_rtlib():
168168
ToolSubst('Kaleidoscope-Ch5', unresolved='ignore'),
169169
ToolSubst('Kaleidoscope-Ch6', unresolved='ignore'),
170170
ToolSubst('Kaleidoscope-Ch7', unresolved='ignore'),
171-
ToolSubst('Kaleidoscope-Ch8', unresolved='ignore')])
171+
ToolSubst('Kaleidoscope-Ch8', unresolved='ignore'),
172+
ToolSubst('LLJITWithThinLTOSummaries', unresolved='ignore')])
172173

173174
llvm_config.add_tool_substitutions(tools, config.llvm_tools_dir)
174175

0 commit comments

Comments
 (0)