[PATCH] D95998: [Debug-Info] [NFC] use emitDwarfUnitLength to handle debug line section unit length field
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 9 21:43:36 PST 2021
shchenz added a comment.
Because now, we call `emitLabel` inside `emitDwarfUnitLength` and `emitLabel` is not a constant function and it needs to be emitted inside a section, so we:
1: change the prototype for `emitDwarfUnitLength` to use non-const `MCSymbol`;
2: add MCSection in unit test when testing for `emitDwarfUnitLength`
@ikudrin Could you please help to have another look? Thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95998/new/
https://reviews.llvm.org/D95998
More information about the llvm-commits
mailing list