[PATCH] D60961: [TargetOption] Add option for enabling param entry val tracking dbg info
Djordje Todorovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 01:37:00 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL364395: [TargetOption] Add option to ebanble the debug entry values (authored by djtodoro, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D60961?vs=201502&id=206612#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60961/new/
https://reviews.llvm.org/D60961
Files:
llvm/trunk/include/llvm/CodeGen/CommandFlags.inc
llvm/trunk/include/llvm/Target/TargetOptions.h
Index: llvm/trunk/include/llvm/CodeGen/CommandFlags.inc
===================================================================
--- llvm/trunk/include/llvm/CodeGen/CommandFlags.inc
+++ llvm/trunk/include/llvm/CodeGen/CommandFlags.inc
@@ -271,6 +271,11 @@
EnableAddrsig("addrsig", cl::desc("Emit an address-significance table"),
cl::init(false));
+static cl::opt<bool>
+ EnableDebugEntryValues("debug-entry-values",
+ cl::desc("Emit debug info about parameter's entry values"),
+ cl::init(false));
+
// Common utility function tightly tied to the options listed here. Initializes
// a TargetOptions object with CodeGen flags and returns it.
static TargetOptions InitTargetOptionsFromCodeGenFlags() {
@@ -300,6 +305,7 @@
Options.ExceptionModel = ExceptionModel;
Options.EmitStackSizeSection = EnableStackSizeSection;
Options.EmitAddrsig = EnableAddrsig;
+ Options.EnableDebugEntryValues = EnableDebugEntryValues;
Options.MCOptions = InitMCTargetOptionsFromFlags();
Index: llvm/trunk/include/llvm/Target/TargetOptions.h
===================================================================
--- llvm/trunk/include/llvm/Target/TargetOptions.h
+++ llvm/trunk/include/llvm/Target/TargetOptions.h
@@ -118,7 +118,8 @@
NoTrapAfterNoreturn(false), EmulatedTLS(false),
ExplicitEmulatedTLS(false), EnableIPRA(false),
EmitStackSizeSection(false), EnableMachineOutliner(false),
- SupportsDefaultOutlining(false), EmitAddrsig(false) {}
+ SupportsDefaultOutlining(false), EmitAddrsig(false),
+ EnableDebugEntryValues(false) {}
/// PrintMachineCode - This flag is enabled when the -print-machineinstrs
/// option is specified on the command line, and should enable debugging
@@ -252,6 +253,9 @@
/// Emit address-significance table.
unsigned EmitAddrsig : 1;
+ /// Emit debug info about parameter's entry values.
+ unsigned EnableDebugEntryValues : 1;
+
/// FloatABIType - This setting is set by -float-abi=xxx option is specfied
/// on the command line. This setting may either be Default, Soft, or Hard.
/// Default selects the target's default behavior. Soft selects the ABI for
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60961.206612.patch
Type: text/x-patch
Size: 2263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/a9a6cd4e/attachment.bin>
More information about the llvm-commits
mailing list