diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-04 00:33:07 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-04 00:33:07 +0000 |
commit | ce0c1e11ce6031a9bc23579bcb35e21178eef4f8 (patch) | |
tree | c6e1c1f47935617f0b433d9c138f65b688f4af34 /llvm/lib/MC/MCAssembler.cpp | |
parent | 751f7bc03cfd01845e6fdcbafeed44c7f61f0b25 (diff) | |
download | bcm5719-llvm-ce0c1e11ce6031a9bc23579bcb35e21178eef4f8.tar.gz bcm5719-llvm-ce0c1e11ce6031a9bc23579bcb35e21178eef4f8.zip |
llvm-mc: Fix case were we would skip a line in the .s file after an instruction
match failure.
Also, fixes a few memory leak FIXMEs.
llvm-svn: 102986
Diffstat (limited to 'llvm/lib/MC/MCAssembler.cpp')
-rw-r--r-- | llvm/lib/MC/MCAssembler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAssembler.cpp b/llvm/lib/MC/MCAssembler.cpp index 252e9ca5963..69afcc8fb7e 100644 --- a/llvm/lib/MC/MCAssembler.cpp +++ b/llvm/lib/MC/MCAssembler.cpp @@ -212,7 +212,7 @@ static bool isScatteredFixupFullyResolvedSimple(const MCAssembler &Asm, // resolved. This also works in conjunction with absolutized .set, which // requires the compiler to use .set to absolutize the differences between // symbols which the compiler knows to be assembly time constants, so we don't - // need to worry about consider symbol differences fully resolved. + // need to worry about considering symbol differences fully resolved. // Non-relative fixups are only resolved if constant. if (!BaseSection) @@ -715,6 +715,8 @@ bool MCAssembler::FixupNeedsRelaxation(const MCAsmFixup &Fixup, return true; // Otherwise, relax if the value is too big for a (signed) i8. + // + // FIXME: This is target dependent! return int64_t(Value) != int64_t(int8_t(Value)); } |