diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2021-11-30 12:41:59 +0000 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2021-11-30 13:44:07 +0000 |
commit | 3c045070882f3f43135da6a40ef3f6508fe43af6 (patch) | |
tree | 52b6615f739abf6985cd3965d61b1620f1d54f94 /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | 9a86eb5602481fbd7e5d1b1a1c13240e82f273ef (diff) | |
download | llvm-3c045070882f3f43135da6a40ef3f6508fe43af6.zip llvm-3c045070882f3f43135da6a40ef3f6508fe43af6.tar.gz llvm-3c045070882f3f43135da6a40ef3f6508fe43af6.tar.bz2 |
[DebugInfo] Turn instruction referencing on by default for x86
This patch is designed to be reverted -- it activates a reasonably large
block of new-ish code, so some turbulence is likely.
Instruction referencing is best summarised, and it being on-by-default,
is discussed here:
https://lists.llvm.org/pipermail/llvm-dev/2021-November/153653.html
Differential Revision: https://reviews.llvm.org/D114631
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CommandFlags.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp index ecf3d93..3bed81d 100644 --- a/llvm/lib/CodeGen/CommandFlags.cpp +++ b/llvm/lib/CodeGen/CommandFlags.cpp @@ -699,5 +699,7 @@ void codegen::setFunctionAttributes(StringRef CPU, StringRef Features, } bool codegen::getDefaultValueTrackingVariableLocations(const llvm::Triple &T) { + if (T.getArch() == llvm::Triple::x86_64) + return true; return false; } |