[PATCH] D116997: [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 11 11:14:03 PST 2022
MaskRay added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/DIE.h:305
void emitValue(const AsmPrinter *AP, dwarf::Form Form) const;
- unsigned SizeOf(const AsmPrinter *AP, dwarf::Form Form) const;
+ unsigned SizeOf(const dwarf::FormParams &, dwarf::Form) const;
----------------
`sizeOf` - If you are going to change the signature, switch the case to stick with the function naming convention.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116997/new/
https://reviews.llvm.org/D116997
More information about the llvm-commits
mailing list