[llvm-commits] [llvm] r131137 - /llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp

Jason W Kim jason.w.kim.2009 at gmail.com
Tue May 10 11:07:25 PDT 2011


Author: jasonwkim
Date: Tue May 10 13:07:25 2011
New Revision: 131137

URL: http://llvm.org/viewvc/llvm-project?rev=131137&view=rev
Log:
First cut at getting debugging support for ARM/MC/ELF/.o

DWARF stuff also gets fixed up by ELFARMAsmBackend::ApplyFixup(),
but the offset is not guaranteed to be mod 4 == 0 as in text/data. 



Modified:
    llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp?rev=131137&r1=131136&r2=131137&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp Tue May 10 13:07:25 2011
@@ -404,7 +404,6 @@
   if (!Value) return;           // Doesn't change encoding.
 
   unsigned Offset = Fixup.getOffset();
-  assert(Offset % NumBytes == 0 && "Offset mod NumBytes is nonzero!");
 
   // For each byte of the fragment that the fixup touches, mask in the bits from
   // the fixup value. The Value has been "split up" into the appropriate





More information about the llvm-commits mailing list