[Lldb-commits] [PATCH] D147370: [lldb] fixing #61727 fixing incorrect variable displaying with DW_OP_div

LU Hongyi via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 4 20:30:57 PDT 2023


jwnhy updated this revision to Diff 519733.
jwnhy added a comment.

Update the patch to pass the assertion.
Sorry I forget to enable these on my machine.

Given that said, this assertion seems pretty weird to me.
Since this assembly is also generated by clang (with handcrafted DWARF, 
this assertion means that any assembly generated from a single file will
be rejected?

Anyway, I have added a dummy ".file 1" directive to pass
this assertion.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147370/new/

https://reviews.llvm.org/D147370

Files:
  lldb/source/Expression/DWARFExpression.cpp
  lldb/test/Shell/SymbolFile/DWARF/x86/DW_OP_div-with-signed.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147370.519733.patch
Type: text/x-patch
Size: 11468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230505/5dbc47f6/attachment.bin>


More information about the lldb-commits mailing list