We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 795e889 commit 35c15e4Copy full SHA for 35c15e4
lldb/tools/lldb-dap/Handler/DisassembleRequestHandler.cpp
@@ -87,6 +87,13 @@ static DisassembledInstruction ConvertSBInstructionToDisassembledInstruction(
87
88
auto addr = inst.GetAddress();
89
const auto inst_addr = addr.GetLoadAddress(target);
90
+
91
+ // FIXME: This is a workaround - this address might come from
92
+ // disassembly that started in a different section, and thus
93
+ // comparisons between this object and other address objects with the
94
+ // same load address will return false.
95
+ addr = lldb::SBAddress(inst_addr, target);
96
97
const char *m = inst.GetMnemonic(target);
98
const char *o = inst.GetOperands(target);
99
const char *c = inst.GetComment(target);
0 commit comments