diff options
author | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2020-02-10 11:06:44 +0100 |
---|---|---|
committer | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2020-02-12 10:25:14 +0100 |
commit | 9f6ff07f8a396dfc736c4cb6f9fba9a203531329 (patch) | |
tree | 4783fe30170ee0d7f4e64ee728b71eb6f0783005 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | c64770506b89a2376fe13080bc3b72789e6c752d (diff) | |
download | llvm-9f6ff07f8a396dfc736c4cb6f9fba9a203531329.zip llvm-9f6ff07f8a396dfc736c4cb6f9fba9a203531329.tar.gz llvm-9f6ff07f8a396dfc736c4cb6f9fba9a203531329.tar.bz2 |
[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.cpp | 3 |
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); } |