Correctly read OP_addrx type encodings for DWARFv5 locations.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/ProfileData/InstrProfCorrelator.cpp | ||
---|---|---|
130–133 | This should probably be committed separately & ideally with a test case. | |
178–184 | Could you use DWARFUnit::getAddrOffsetSectionItem, perhaps? (& I guess this would be committed along with an additional test case that covers DWARFv5 or swapping back the temporary change for the existing test case (probably should keep some v4 coverage too, for the DW_OP_addr case above)) |
llvm/lib/ProfileData/InstrProfCorrelator.cpp | ||
---|---|---|
178–184 | Ah thanks, that makes the code much simpler! |
This should probably be committed separately & ideally with a test case.