File tree 2 files changed +1
-33
lines changed
2 files changed +1
-33
lines changed Original file line number Diff line number Diff line change @@ -1371,9 +1371,9 @@ void Module::SectionFileAddressesChanged() {
1371
1371
1372
1372
UnwindTable &Module::GetUnwindTable () {
1373
1373
if (!m_unwind_table) {
1374
- m_unwind_table.emplace (*this );
1375
1374
if (!m_symfile_spec)
1376
1375
SymbolLocator::DownloadSymbolFileAsync (GetUUID ());
1376
+ m_unwind_table.emplace (*this );
1377
1377
}
1378
1378
return *m_unwind_table;
1379
1379
}
@@ -1491,15 +1491,10 @@ void Module::SetSymbolFileFileSpec(const FileSpec &file) {
1491
1491
// one
1492
1492
obj_file->ClearSymtab ();
1493
1493
1494
- // Clear the unwind table too, as that may also be affected by the
1495
- // symbol file information.
1496
- m_unwind_table.reset ();
1497
-
1498
1494
// The symbol file might be a directory bundle ("/tmp/a.out.dSYM")
1499
1495
// instead of a full path to the symbol file within the bundle
1500
1496
// ("/tmp/a.out.dSYM/Contents/Resources/DWARF/a.out"). So we need to
1501
1497
// check this
1502
-
1503
1498
if (FileSystem::Instance ().IsDirectory (file)) {
1504
1499
std::string new_path (file.GetPath ());
1505
1500
std::string old_path (obj_file->GetFileSpec ().GetPath ());
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments