[PATCH] D97311: [DebugInfo] Introduce DIConstant metadata for representing named constants
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 14:53:41 PST 2021
aprantl added a comment.
Have you considered instead introducing a `bool isConstant` field in DILocalVariable? This way we could reuse all the machinery for local/global variables and only need to switch out the TAG in AsmPrinter.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97311/new/
https://reviews.llvm.org/D97311
More information about the llvm-commits
mailing list