[llvm] [llvm][DebugInfo] Add support for DW_OP_GNU_implicit_pointer (PR #142913)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 12:11:48 PDT 2025


kazutakahirata wrote:

> Note that
> 
> ```
> llvm-project/lldb/source/Expression/DWARFExpression.cpp:134:11: error: enumeration value 'DW_OP_GNU_implicit_pointer' not handled in switch [-Werror,-Wswitch]
>   134 |   switch (op) {
> ```

@Thrrreeee @wecing @dwblaikie I also see this.  FYI, the warning comes from:

```
static lldb::offset_t
GetOpcodeDataSize(const DataExtractor &data, const lldb::offset_t data_offset,
                  const LocationAtom op,
                  const DWARFExpression::Delegate *dwarf_cu) {
```

in `lldb/source/Expression/DWARFExpression.cpp`.

I'm hoping that you can fix this forward, but if you need time, I'm happy to revert this PR for you.  Thanks!


https://github.com/llvm/llvm-project/pull/142913


More information about the llvm-commits mailing list