From cecbc3d28277ff4916326311cbf87335ed05d106 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 25 Oct 2010 17:50:35 +0000 Subject: Add support for emitting ARM file attributes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117275 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMAsmBackend.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/Target/ARM/ARMAsmBackend.cpp') diff --git a/lib/Target/ARM/ARMAsmBackend.cpp b/lib/Target/ARM/ARMAsmBackend.cpp index 72f6e2b4ce..4be0242475 100644 --- a/lib/Target/ARM/ARMAsmBackend.cpp +++ b/lib/Target/ARM/ARMAsmBackend.cpp @@ -55,12 +55,11 @@ void ARMAsmBackend::RelaxInstruction(const MCInst &Inst, MCInst &Res) const { } bool ARMAsmBackend::WriteNopData(uint64_t Count, MCObjectWriter *OW) const { - assert(0 && "ARMAsmBackend::WriteNopData() unimplemented"); if ((Count % 4) != 0) { // Fixme: % 2 for Thumb? return false; } - return false; + return true; } } // end anonymous namespace -- cgit v1.2.3