There is just a difference of comparing DIERef::die_offset() with originally GetOffset() while now with GetFirstDIEOffset().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
550 ms | windows > LLVM.CodeGen/AMDGPU::ds_read2.ll |
Event Timeline
Comment Actions
Are you planning to use this anywhere else? Could we maybe keep this function inside NameToDIE? There's no such thing as a DIERef in llvm (and I doubt there will be), so it'd be nice to keep this in code which is not destined to be merged some day...
Comment Actions
I wrote it originally as the function was used at more places. But it no longer is so I just found it as some code cleanup. OK, I will try to update it.
Comment Actions
If the DWZ stuff makes this more complicated then it may be worth it. Otherwise, let's just drop it.
lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.h | ||
---|---|---|
53–54 | Make this a file-level static (in the cpp file) instead? |
Make this a file-level static (in the cpp file) instead?