diff options
| author | Pavel Labath <pavel@labath.sk> | 2019-11-14 16:16:25 +0100 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2019-11-14 16:29:36 +0100 |
| commit | 6e3ecd18847cb5c5bbe41d23428e1aa57ed1b339 (patch) | |
| tree | 9367567edf9587b1ad25390aebc7073be5956f40 /llvm/lib/Support/VirtualFileSystem.cpp | |
| parent | ce371ec6d7c3860ffbb887538d19fd1f051c80ed (diff) | |
[lldb] Fix dwo variant of TestLibCxxFunction
The test was failing due to a bug in SymbolFileDWARF::FindFunctions --
the function was searching the main dwarf unit for DW_TAG_subprograms,
but the main unit is empty in case of split dwarf. The fix is simple --
search the non-skeleton unit instead.
This bug went unnoticed because this function is expensive, and so one
generally avoids calling it.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions
