ARM: Support SingleParameterDotFile on WoA
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 27 Apr 2014 03:47:57 +0000 (03:47 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 27 Apr 2014 03:47:57 +0000 (03:47 +0000)
Currently, the integrated assembler is the only choice for assembling Windows on
ARM binaries.  IAS supports the .file <filename> directive which emits the file
symbol into the resulting object binary.  Mark the GNU COFF information to
indicate support for this feature.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207341 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp

index e93b16c6b533e6ca730fabc22f17e16e8a513f78..17fbf23e50231cb5e6fff4d12605b59857aaf82b 100644 (file)
@@ -89,6 +89,7 @@ void ARMCOFFMCAsmInfoGNU::anchor() { }
 
 ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU() {
   AlignmentIsInBytes = false;
+  HasSingleParameterDotFile = true;
 
   CommentString = "@";
   Code16Directive = ".code\t16";