[llvm] r207341 - ARM: Support SingleParameterDotFile on WoA

Saleem Abdulrasool compnerd at compnerd.org
Sat Apr 26 20:47:58 PDT 2014


Author: compnerd
Date: Sat Apr 26 22:47:57 2014
New Revision: 207341

URL: http://llvm.org/viewvc/llvm-project?rev=207341&view=rev
Log:
ARM: Support SingleParameterDotFile on WoA

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.

Modified:
    llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp

Modified: llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp?rev=207341&r1=207340&r2=207341&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp Sat Apr 26 22:47:57 2014
@@ -89,6 +89,7 @@ void ARMCOFFMCAsmInfoGNU::anchor() { }
 
 ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU() {
   AlignmentIsInBytes = false;
+  HasSingleParameterDotFile = true;
 
   CommentString = "@";
   Code16Directive = ".code\t16";





More information about the llvm-commits mailing list