Skip to content

Commit d31bc44

Browse files
eronnensivan-shani
authored andcommitted
[lldb] add missing cmake build type argument (llvm#141427)
Necessary argument after llvm@7dc7c15
1 parent d2b0986 commit d31bc44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/utils/lldb-dotest/lldb-dotest.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ has_libcxx = @LLDB_HAS_LIBCXX@
2121
libcxx_libs_dir = "@LIBCXX_LIBRARY_DIR@"
2222
libcxx_include_dir = "@LIBCXX_GENERATED_INCLUDE_DIR@"
2323
libcxx_include_target_dir = "@LIBCXX_GENERATED_INCLUDE_TARGET_DIR@"
24+
cmake_build_type = "@CMAKE_BUILD_TYPE@"
2425

2526
if __name__ == '__main__':
2627
wrapper_args = sys.argv[1:]
@@ -52,6 +53,7 @@ if __name__ == '__main__':
5253
if lldb_build_intel_pt == "1":
5354
cmd.extend(['--enable-plugin', 'intel-pt'])
5455
cmd.extend(['--lldb-obj-root', lldb_obj_root])
56+
cmd.extend(['--cmake-build-type', cmake_build_type])
5557
cmd.extend(wrapper_args)
5658
# Invoke dotest.py and return exit code.
5759
print(' '.join(cmd))

0 commit comments

Comments
 (0)