[llvm] ea7b1c7 - Add cmake test support for LLJITWithThinLTOSummaries to make sure

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 11:47:38 PDT 2020


Author: Eric Christopher
Date: 2020-08-26T11:46:09-07:00
New Revision: ea7b1c79f73d8def5d806ae79dea125d146ac864

URL: https://github.com/llvm/llvm-project/commit/ea7b1c79f73d8def5d806ae79dea125d146ac864
DIFF: https://github.com/llvm/llvm-project/commit/ea7b1c79f73d8def5d806ae79dea125d146ac864.diff

LOG: Add cmake test support for LLJITWithThinLTOSummaries to make sure
it's being built and called (and substituted).

Added: 
    

Modified: 
    llvm/test/CMakeLists.txt
    llvm/test/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index cde80035a09b..58aa680a54c2 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -153,6 +153,7 @@ if(LLVM_BUILD_EXAMPLES)
     Kaleidoscope-Ch5
     Kaleidoscope-Ch6
     Kaleidoscope-Ch7
+    LLJITWithThinLTOSummaries
     )
   if (NOT WIN32)
     list(APPEND LLVM_TEST_DEPENDS

diff  --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 4502ac58c45a..6be94245380a 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -168,7 +168,8 @@ def get_asan_rtlib():
     ToolSubst('Kaleidoscope-Ch5', unresolved='ignore'),
     ToolSubst('Kaleidoscope-Ch6', unresolved='ignore'),
     ToolSubst('Kaleidoscope-Ch7', unresolved='ignore'),
-    ToolSubst('Kaleidoscope-Ch8', unresolved='ignore')])
+    ToolSubst('Kaleidoscope-Ch8', unresolved='ignore'),
+    ToolSubst('LLJITWithThinLTOSummaries', unresolved='ignore')])
 
 llvm_config.add_tool_substitutions(tools, config.llvm_tools_dir)
 


        


More information about the llvm-commits mailing list