Issue |
120856
|
Summary |
[lldb] A typo in the detection of `this` arguments?
|
Labels |
new issue
|
Assignees |
|
Reporter |
SingleAccretion
|
I've encountered what seems like a bug in this code:
https://github.com/llvm/llvm-project/blob/fd784726db70a5155594c32ee839b8807fafd87d/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp#L3140-L3147
In my case, the entry for "this" looked like this:
```
0x000001a4: DW_TAG_formal_parameter
DW_AT_artificial (0x01)
DW_AT_type (0x000001e0 "WebAssemblyPtrWrapper<DerivedType>")
...
0x000001e0: DW_TAG_structure_type
DW_AT_name ("WebAssemblyPtrWrapper<DerivedType>")
DW_AT_byte_size (0x04)
```
And was still picked up, despite the seeming intention of filtering out non-pointer arguments.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs