aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>2020-02-12 11:54:29 +0100
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>2020-02-12 11:59:04 +0100
commit97ed706a962af7c6835c7b6716207c4072011ac1 (patch)
tree8117097319d7db31d77b6443ffad8fe70bc47a1d /llvm/lib/CodeGen/MachineFunction.cpp
parent740bc366d44ccd41161739bc1d4b447cd49aba65 (diff)
downloadllvm-97ed706a962af7c6835c7b6716207c4072011ac1.zip
llvm-97ed706a962af7c6835c7b6716207c4072011ac1.tar.gz
llvm-97ed706a962af7c6835c7b6716207c4072011ac1.tar.bz2
Revert "[DebugInfo] Enable the debug entry values feature by default"
This reverts commit rG9f6ff07f8a39. Found a test failure on clang-with-thin-lto-ubuntu buildbot.
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);
}