summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/Symbols.cpp
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2018-12-19 08:57:10 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2018-12-19 08:57:10 +0000
commit9a33a15766e1551f8f2213a1900e7a0aee3fb78b (patch)
tree07b43fd00774e596bfff748d2eba4041eb42d2d5 /lldb/source/Host/common/Symbols.cpp
parent2a632b6472e55fb2ae049ee2be3933a479753ddb (diff)
downloadbcm5719-llvm-9a33a15766e1551f8f2213a1900e7a0aee3fb78b.tar.gz
bcm5719-llvm-9a33a15766e1551f8f2213a1900e7a0aee3fb78b.zip
refactor testsuite spawnLldbMi args->exe+args
Currently spawnLldbMi accepts both lldb-mi options and executable to debug as a single parameter. Split them. As in D55859 we will need to execute one lldb-mi command before loading the exe. Therefore we can no longer use the exe as lldb-mi command-line parameter as then there is no way to execute a command before loading exe specified as lldb-mi command-line parameter. LocateExecutableSymbolFileDsym should be static, that is also a little refactorization. Differential Revision: https://reviews.llvm.org/D55858 llvm-svn: 349607
Diffstat (limited to 'lldb/source/Host/common/Symbols.cpp')
-rw-r--r--lldb/source/Host/common/Symbols.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Symbols.cpp b/lldb/source/Host/common/Symbols.cpp
index 831483b9a7a..9d8796b11bb 100644
--- a/lldb/source/Host/common/Symbols.cpp
+++ b/lldb/source/Host/common/Symbols.cpp
@@ -199,7 +199,7 @@ static bool LocateDSYMInVincinityOfExecutable(const ModuleSpec &module_spec,
return false;
}
-FileSpec LocateExecutableSymbolFileDsym(const ModuleSpec &module_spec) {
+static FileSpec LocateExecutableSymbolFileDsym(const ModuleSpec &module_spec) {
const FileSpec *exec_fspec = module_spec.GetFileSpecPtr();
const ArchSpec *arch = module_spec.GetArchitecturePtr();
const UUID *uuid = module_spec.GetUUIDPtr();
OpenPOWER on IntegriCloud