[PATCH] D117216: [BOLT][DWARF] updateDWARFObjectAddressRanges: nullify low pc
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 18 11:56:58 PST 2022
Amir added a comment.
In D117216#3252061 <https://reviews.llvm.org/D117216#3252061>, @yota9 wrote:
> @ayermolo Sure, this is the best I can get fast. I wish there will be automated process. It is great that even the beginning file was small enough. I won't be able to reduce golang test by hands in a reasonable time..
Sorry for a late comment, but the following might be helpful:
- If golang compiler lowers to LLVM IR, it should be possible to dump it and reduce it using llvm-reduce,
- If not, but the compiler can emit an assembly (with all DWARF sections), it might be possible to reduce it using creduce.
- Otherwise, we'd need to work on extending BOLT's asm-dump to also dump DWARF sections, and reduce the resulting assembly.
Also, the commit title is out of sync with diff's title. Please double-check the commit before the push, and sync from phabricator as necessary.
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