[PATCH] D140404: Patch for dbg variable instrinsics to point towards cloned values in JumpThreading
Michael Buch via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 08:00:34 PST 2023
Michael137 added a comment.
FYI this broke https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/50434/testReport/junit/lldb-api/tools_lldb-vscode_optimized/TestVSCode_optimized_py/ where we're presumably relying on debug-info for a variable to have gotten lost but which is now not the case anymore. So not an issue with this patch, just notifying.
Snippet from test:
int main(int argc, char const *argv[]) {
int optimized = argc > 1 ? std::stoi(argv[1]) : 0;
printf("argc: %d, optimized: %d\n", argc, optimized);
compiled with `-glldb -O3`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140404/new/
https://reviews.llvm.org/D140404
More information about the llvm-commits
mailing list