forked from OSchip/llvm-project
Missed a checking that should have been checked in with 186211.
llvm-svn: 186221
This commit is contained in:
parent
1be015300c
commit
090b591d82
|
@ -93,7 +93,7 @@ Symbols::LocateExecutableSymbolFile (const ModuleSpec &module_spec)
|
|||
if (file_spec.Exists())
|
||||
{
|
||||
lldb_private::ModuleSpecList specs;
|
||||
const size_t num_specs = ObjectFile::GetModuleSpecifications (file_spec, 0, specs);
|
||||
const size_t num_specs = ObjectFile::GetModuleSpecifications (file_spec, 0, 0, specs);
|
||||
assert (num_specs <= 1 && "Symbol Vendor supports only a single architecture");
|
||||
if (num_specs == 1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue