forked from OSchip/llvm-project
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. llvm-svn: 131137
This commit is contained in:
parent
4028ccdbe3
commit
62f1ab79ec
|
@ -404,7 +404,6 @@ void ELFARMAsmBackend::ApplyFixup(const MCFixup &Fixup, char *Data,
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue