aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>2020-02-18 16:37:16 +0100
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>2020-02-18 16:38:11 +0100
commit2bf44d11cb42a952bdeb778210d8b3e737f0b96e (patch)
tree1bf5d067e5d31cd083b875299a5707e52ac98dda /llvm/lib/CodeGen/MachineFunction.cpp
parent498a6136a271bfb95bcd9488d1036e57a5e0fae0 (diff)
downloadllvm-2bf44d11cb42a952bdeb778210d8b3e737f0b96e.zip
llvm-2bf44d11cb42a952bdeb778210d8b3e737f0b96e.tar.gz
llvm-2bf44d11cb42a952bdeb778210d8b3e737f0b96e.tar.bz2
Revert "Reland "[DebugInfo] Enable the debug entry values feature by default""
This reverts commit rGa82d3e8a6e67.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 2eb8d94..06b5ab5 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -865,7 +865,8 @@ MachineFunction::CallSiteInfoMap::iterator
MachineFunction::getCallSiteInfo(const MachineInstr *MI) {
assert(MI->isCandidateForCallSiteEntry() &&
"Call site info refers only to call (MI) candidates");
- if (!Target.Options.ShouldEmitDebugEntryValues())
+
+ if (!Target.Options.EnableDebugEntryValues)
return CallSitesInfo.end();
return CallSitesInfo.find(MI);
}