diff options
author | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2020-02-19 10:17:52 +0100 |
---|---|---|
committer | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2020-02-19 11:12:26 +0100 |
commit | faff707db82d7db12fcd9f7826b8741261230e63 (patch) | |
tree | 01a8d78f1af12cd735eae2f374b0902263485b9a /llvm/lib/CodeGen/TargetOptionsImpl.cpp | |
parent | 6e326882dadd7bde1f23a08c1278918aefd5a9ef (diff) | |
download | llvm-faff707db82d7db12fcd9f7826b8741261230e63.zip llvm-faff707db82d7db12fcd9f7826b8741261230e63.tar.gz llvm-faff707db82d7db12fcd9f7826b8741261230e63.tar.bz2 |
Reland "[DebugInfo] Enable the debug entry values feature by default"
Differential Revision: https://reviews.llvm.org/D73534
Diffstat (limited to 'llvm/lib/CodeGen/TargetOptionsImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetOptionsImpl.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetOptionsImpl.cpp b/llvm/lib/CodeGen/TargetOptionsImpl.cpp index d794a26..3db0f2f 100644 --- a/llvm/lib/CodeGen/TargetOptionsImpl.cpp +++ b/llvm/lib/CodeGen/TargetOptionsImpl.cpp @@ -45,3 +45,11 @@ bool TargetOptions::DisableFramePointerElim(const MachineFunction &MF) const { bool TargetOptions::HonorSignDependentRoundingFPMath() const { return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption; } + +/// NOTE: There are targets that still do not support the call site info +/// production (the info about the arguments passed to the call, necessary +/// for the debug entry values), so we keep using the experimental option +/// (-debug-entry-values) to test them as well. +bool TargetOptions::ShouldEmitDebugEntryValues() const { + return SupportsDebugEntryValues || EnableDebugEntryValues; +} |