[Lldb-commits] [lldb] ee9294f - [lldb] add missing cmake build type argument (#141427)

via lldb-commits lldb-commits at lists.llvm.org
Tue May 27 00:31:03 PDT 2025


Author: Ely Ronnen
Date: 2025-05-27T09:30:59+02:00
New Revision: ee9294f30007a1689ee01d627d575544d528b933

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

LOG: [lldb] add missing cmake build type argument (#141427)

Necessary argument after
https://github.com/llvm/llvm-project/commit/7dc7c155251c0008d5d59b84f0c9056365740f11

Added: 
    

Modified: 
    lldb/utils/lldb-dotest/lldb-dotest.in

Removed: 
    


################################################################################
diff  --git a/lldb/utils/lldb-dotest/lldb-dotest.in b/lldb/utils/lldb-dotest/lldb-dotest.in
index 9688b94d91842..c959c389f8a85 100755
--- a/lldb/utils/lldb-dotest/lldb-dotest.in
+++ b/lldb/utils/lldb-dotest/lldb-dotest.in
@@ -21,6 +21,7 @@ has_libcxx = @LLDB_HAS_LIBCXX@
 libcxx_libs_dir = "@LIBCXX_LIBRARY_DIR@"
 libcxx_include_dir = "@LIBCXX_GENERATED_INCLUDE_DIR@"
 libcxx_include_target_dir = "@LIBCXX_GENERATED_INCLUDE_TARGET_DIR@"
+cmake_build_type = "@CMAKE_BUILD_TYPE@"
 
 if __name__ == '__main__':
     wrapper_args = sys.argv[1:]
@@ -52,6 +53,7 @@ if __name__ == '__main__':
     if lldb_build_intel_pt == "1":
         cmd.extend(['--enable-plugin', 'intel-pt'])
     cmd.extend(['--lldb-obj-root', lldb_obj_root])
+    cmd.extend(['--cmake-build-type', cmake_build_type])
     cmd.extend(wrapper_args)
     # Invoke dotest.py and return exit code.
     print(' '.join(cmd))


        


More information about the lldb-commits mailing list