diff options
author | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2019-11-20 12:20:53 +0100 |
---|---|---|
committer | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2019-11-20 13:18:40 +0100 |
commit | 979592a6f735a7111ba2c3a19e5ef3e8d336e01a (patch) | |
tree | 4b386de7eb45eaafa29ceb2be7cbe188e52faa8e /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | 6a89ecb1ddd58575cd9a868bccaf64b2d1a9142a (diff) | |
download | llvm-979592a6f735a7111ba2c3a19e5ef3e8d336e01a.zip llvm-979592a6f735a7111ba2c3a19e5ef3e8d336e01a.tar.gz llvm-979592a6f735a7111ba2c3a19e5ef3e8d336e01a.tar.bz2 |
[DebugInfo] Remove the DIFlagArgumentNotModified debug info flag
Due to changes in D68206, we remove the DIFlagArgumentNotModified
and its usage.
Differential Revision: https://reviews.llvm.org/D68207
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp index 623ae5f..7734f5e 100644 --- a/llvm/lib/CodeGen/LiveDebugValues.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues.cpp @@ -1292,7 +1292,7 @@ bool LiveDebugValues::isEntryValueCandidate( // TODO: Add support for modified arguments that can be expressed // by using its entry value. auto *DIVar = MI.getDebugVariable(); - if (!DIVar->isParameter() || !DIVar->isNotModified()) + if (!DIVar->isParameter()) return false; // Do not consider parameters that belong to an inlined function. |