Commit 841e53e
committed
[lldb] Disable LLDBMemoryReader::resolvePointerAsSymbol on Linux
Address::CalculateSymbolContextSymbol() finds the wrong symbol on
Linux when debugging swift application because symbols have an
actual size (as opposed to macOS, where they have size 0). This is
either an LLDB or a swift compiler bug.
For now, disable this optimization on Linux.1 parent b156756 commit 841e53e
File tree
1 file changed
+8
-0
lines changed- lldb/source/Plugins/LanguageRuntime/Swift
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
183 | 191 | | |
184 | 192 | | |
185 | 193 | | |
| |||
0 commit comments