[PATCH] D101247: [Debug-Info] strict dwarf for DW_OP_stack_value
Jeremy Morse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 17 10:12:17 PDT 2021
jmorse added subscribers: StephenTozer, jmorse.
jmorse added a comment.
Hi @shchenz, is it feasible to use DIExpression::isImplicit at a higher level to filter out these kinds of expressions? I believe it's possible to parse a DIExpression before it's lowered to a DWARF expression, and there are places where we rely on the isImplicit method for correctness already. Also paging @StephenTozer who's touched this area recently.
I believe this would work for DW_AT_location attributes of DW_TAG_variable and DW_TAG_formal_parameter's, I'm less certain about other parts of DWARF that use expressions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101247/new/
https://reviews.llvm.org/D101247
More information about the llvm-commits
mailing list