aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/APIntTest.cpp
diff options
context:
space:
mode:
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>2022-12-08 13:52:56 -0500
committerFelipe de Azevedo Piovezan <fpiovezan@apple.com>2022-12-10 14:38:09 -0500
commit60f406c4db5ba1ed6d66567ddaef4b86386496e1 (patch)
tree8a066acdd7b2753b3997690332ec22d467e6d63d /llvm/unittests/ADT/APIntTest.cpp
parentf7dffc28b3f82e25a0e283d2b11ffb9c6a129340 (diff)
downloadllvm-60f406c4db5ba1ed6d66567ddaef4b86386496e1.zip
llvm-60f406c4db5ba1ed6d66567ddaef4b86386496e1.tar.gz
llvm-60f406c4db5ba1ed6d66567ddaef4b86386496e1.tar.bz2
[CodeExtractor] Only rewrite scope of non-inlined variables
When a dbg.value instruction for a variable V is extracted into a new function, the scope of the underlying variable should be set to the new function iff V was in the scope of the old function (i.e. it hadn't been inlined). Prior to this patch, the code extractor would always update the scope of V. Differential Revision: https://reviews.llvm.org/D139669
Diffstat (limited to 'llvm/unittests/ADT/APIntTest.cpp')
0 files changed, 0 insertions, 0 deletions