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

Necessary argument after
7dc7c15525
This commit is contained in:
Ely Ronnen
2025-05-27 09:30:59 +02:00
committed by GitHub
parent f8d63168b6
commit ee9294f300

View File

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