Move -dwarf-version to an MC level command line option so it's
[oota-llvm.git] / include / llvm / MC / MCTargetOptions.h
index ad34958ae3802a8c27bdac23d9c4d0aa5a9e59fc..eb4348ed3ec28473aac780a3083c6fb8c0be5e77 100644 (file)
@@ -22,12 +22,14 @@ public:
   /// Enables AddressSanitizer instrumentation at machine level.
   bool SanitizeAddress : 1;
 
-  unsigned MCRelaxAll : 1;
-  unsigned MCNoExecStack : 1;
-  unsigned MCSaveTempLabels : 1;
-  unsigned MCUseDwarfDirectory : 1;
-  unsigned ShowMCEncoding : 1;
-  unsigned ShowMCInst : 1;
+  bool MCRelaxAll : 1;
+  bool MCNoExecStack : 1;
+  bool MCSaveTempLabels : 1;
+  bool MCUseDwarfDirectory : 1;
+  bool ShowMCEncoding : 1;
+  bool ShowMCInst : 1;
+  bool AsmVerbose : 1;
+  int DwarfVersion;
   MCTargetOptions();
 };
 
@@ -39,7 +41,9 @@ inline bool operator==(const MCTargetOptions &LHS, const MCTargetOptions &RHS) {
           ARE_EQUAL(MCSaveTempLabels) &&
           ARE_EQUAL(MCUseDwarfDirectory) &&
           ARE_EQUAL(ShowMCEncoding) &&
-          ARE_EQUAL(ShowMCInst));
+          ARE_EQUAL(ShowMCInst) &&
+          ARE_EQUAL(AsmVerbose) &&
+         ARE_EQUAL(DwarfVersion));
 #undef ARE_EQUAL
 }