diff options
| author | Tamas Berghammer <tberghammer@google.com> | 2015-07-30 12:38:18 +0000 |
|---|---|---|
| committer | Tamas Berghammer <tberghammer@google.com> | 2015-07-30 12:38:18 +0000 |
| commit | d00438e8f0d6c98e56b01c26147cb3d79df46ccb (patch) | |
| tree | 831fc9a74c6261a4d7f8fb6626d6ec8316a3ba45 /lldb/source/Core/Module.cpp | |
| parent | 77fb0a3dcf19df35533840e096a26fb7e5e18f9b (diff) | |
| download | bcm5719-llvm-d00438e8f0d6c98e56b01c26147cb3d79df46ccb.tar.gz bcm5719-llvm-d00438e8f0d6c98e56b01c26147cb3d79df46ccb.zip | |
Fix issues with separate symbolfile handling
Differential revision: http://reviews.llvm.org/D11595
llvm-svn: 243637
Diffstat (limited to 'lldb/source/Core/Module.cpp')
| -rw-r--r-- | lldb/source/Core/Module.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index 0000e61b836..cc8a59003b1 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -1500,6 +1500,9 @@ Module::SetSymbolFileFileSpec (const FileSpec &file) // we don't have to do anything. return; } + + // Cleare the current symtab as we are going to replace it with a new one + obj_file->ClearSymtab(); // The symbol file might be a directory bundle ("/tmp/a.out.dSYM") instead // of a full path to the symbol file within the bundle |

