[PATCH] D117216: updateDWARFObjectAddressRanges: nullify low pc

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 14 10:20:17 PST 2022


ayermolo added a comment.

In D117216#3242835 <https://reviews.llvm.org/D117216#3242835>, @yota9 wrote:

> @ayermolo Sorry I'm not quite sure how to manipulate the DWARF in C for example, so it will generate such a combination of tags and attributes. Except of a hexdump and changing them by hands... I would glad to hear the better idea :)

Previously when I created unit tests I either used YAML2OBJ or compiling small "hello world" program and stripping resulting assembly as much as possible by hand.
There is also a question of BOLT hitting that code path. For this year I was thinking of adding "test mode" for debug info where we can kind of skip all other steps and "force" debug update path to do what we want. It's just an idea for now.
At least for this, I don't think it should be an issue.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117216



More information about the llvm-commits mailing list