MC: Don't assume incoming StringRef's are null terminated.
[oota-llvm.git] / lib / MC / MCAsmInfoCOFF.cpp
index fd79193073df369e0e9b2634700839cbf0c68310..33350d99a6cd0fea48b34d27077e7d98852569bc 100644 (file)
@@ -36,8 +36,8 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() {
   // Set up DWARF directives
   HasLEB128 = true;  // Target asm supports leb128 directives (little-endian)
   SupportsDebugInformation = true;
-  DwarfSectionOffsetDirective = "\t.secrel32\t";
   HasMicrosoftFastStdCallMangling = true;
+  NeedsDwarfSectionOffsetDirective = true;
 }
 
 void MCAsmInfoMicrosoft::anchor() { }