Skip to content

Commit ee9294f

Browse files
authored
[lldb] add missing cmake build type argument (#141427)
Necessary argument after 7dc7c15
1 parent f8d6316 commit ee9294f

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)