[PATCH] D131179: [StripDeadDebugInfo] Drop dead CUs for const global expression

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 10:23:51 PDT 2022


aprantl added a comment.

I don't think this would end up matching the user expectation. If I'm in the debugger I would expect to be able to access global constants in the expression evaluator. Why would optimizing them out be the desired behavior?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131179/new/

https://reviews.llvm.org/D131179



More information about the llvm-commits mailing list