[lld] r236880 - [ARM] Use the correct variable name and unbreak buildbot.
Davide Italiano
davide at freebsd.org
Fri May 8 09:49:18 PDT 2015
Author: davide
Date: Fri May 8 11:49:18 2015
New Revision: 236880
URL: http://llvm.org/viewvc/llvm-project?rev=236880&view=rev
Log:
[ARM] Use the correct variable name and unbreak buildbot.
Modified:
lld/trunk/lib/ReaderWriter/ELF/ARM/ARMTargetHandler.h
Modified: lld/trunk/lib/ReaderWriter/ELF/ARM/ARMTargetHandler.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ARM/ARMTargetHandler.h?rev=236880&r1=236879&r2=236880&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ARM/ARMTargetHandler.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ARM/ARMTargetHandler.h Fri May 8 11:49:18 2015
@@ -36,7 +36,7 @@ public:
const AtomLayout *appendAtom(const Atom *atom) override {
const DefinedAtom *definedAtom = cast<DefinedAtom>(atom);
- assert(atom->contentType() == DefinedAtom::typeARMExidx &&
+ assert(definedAtom->contentType() == DefinedAtom::typeARMExidx &&
"atom content type for .ARM.exidx section has to be typeARMExidx");
DefinedAtom::Alignment atomAlign = definedAtom->alignment();
More information about the llvm-commits
mailing list