Add support for emitting ARM file attributes.
llvm-svn: 117275
diff --git a/llvm/lib/Target/ARM/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/ARMAsmBackend.cpp
index 72f6e2b..4be0242 100644
--- a/llvm/lib/Target/ARM/ARMAsmBackend.cpp
+++ b/llvm/lib/Target/ARM/ARMAsmBackend.cpp
@@ -55,12 +55,11 @@
}
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