aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>2020-02-18 13:27:25 +0100
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>2020-02-18 14:41:08 +0100
commita82d3e8a6e67473c94a5ce6345372748e9b61718 (patch)
treee15696dc34352943805e1cc1dc2fad9c9dc631c7 /llvm/lib/CodeGen/MachineFunction.cpp
parent9e4b761aba01391bf3966a1a61eab6b5c76c70ad (diff)
downloadllvm-a82d3e8a6e67473c94a5ce6345372748e9b61718.zip
llvm-a82d3e8a6e67473c94a5ce6345372748e9b61718.tar.gz
llvm-a82d3e8a6e67473c94a5ce6345372748e9b61718.tar.bz2
Reland "[DebugInfo] Enable the debug entry values feature by default"
This patch enables the debug entry values feature. - Remove the (CC1) experimental -femit-debug-entry-values option - Enable it for x86, arm and aarch64 targets - Resolve the test failures - Leave the llc experimental option for targets that do not support the CallSiteInfo yet Differential Revision: https://reviews.llvm.org/D73534
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 06b5ab5..2eb8d94 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -865,8 +865,7 @@ MachineFunction::CallSiteInfoMap::iterator
MachineFunction::getCallSiteInfo(const MachineInstr *MI) {
assert(MI->isCandidateForCallSiteEntry() &&
"Call site info refers only to call (MI) candidates");
-
- if (!Target.Options.EnableDebugEntryValues)
+ if (!Target.Options.ShouldEmitDebugEntryValues())
return CallSitesInfo.end();
return CallSitesInfo.find(MI);
}