aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorgbtozers <stephen.tozer@sony.com>2020-09-11 15:52:53 +0100
committerStephen Tozer <Stephen.Tozer@Sony.com>2021-03-09 17:41:04 +0000
commitf0513413c7e5ffe0f4ba1527898e502af6adec45 (patch)
treeba7299fd18dde666beb1f7b3b990eccf441d52f6 /clang/lib/Frontend/CompilerInvocation.cpp
parent77ac3166e59f14dee8301c7770882885fb2cbfa3 (diff)
downloadllvm-f0513413c7e5ffe0f4ba1527898e502af6adec45.zip
llvm-f0513413c7e5ffe0f4ba1527898e502af6adec45.tar.gz
llvm-f0513413c7e5ffe0f4ba1527898e502af6adec45.tar.bz2
[DebugInfo] Add replaceArg function to simplify DBG_VALUE_LIST expressions
The LiveDebugValues and LiveDebugVariables implementations for handling DBG_VALUE_LIST instructions can be simplified significantly if they do not have to deal with any duplicated operands, such as a DBG_VALUE_LIST that uses the same register multiple times in its expression. This patch adds a function, replaceArg, that can be used to simplify a DIExpression in the case of duplicated operands. Differential Revision: https://reviews.llvm.org/D83896
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions