summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-03-08 01:01:40 +0000
committerRui Ueyama <ruiu@google.com>2015-03-08 01:01:40 +0000
commit0536677ad6fde593f96e805573e1e26e71badcad (patch)
tree33a1b63349883edd5db8679b62d385f1e15f207b /lld/lib/Core
parent316d64ea1d484541990d2624c753ed9f0b895fca (diff)
downloadbcm5719-llvm-0536677ad6fde593f96e805573e1e26e71badcad.tar.gz
bcm5719-llvm-0536677ad6fde593f96e805573e1e26e71badcad.zip
Remove sectionPosition attribute.
This code is simply dead. No one is using it. http://reviews.llvm.org/D8125 llvm-svn: 231583
Diffstat (limited to 'lld/lib/Core')
-rw-r--r--lld/lib/Core/Resolver.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp
index b9c26f040a1..5423e539490 100644
--- a/lld/lib/Core/Resolver.cpp
+++ b/lld/lib/Core/Resolver.cpp
@@ -181,11 +181,6 @@ void Resolver::doDefinedAtom(const DefinedAtom &atom) {
<< atom.name()
<< "\n");
- // Verify on zero-size atoms are pinned to start or end of section.
- assert((atom.sectionPosition() != DefinedAtom::sectionPositionStart &&
- atom.sectionPosition() != DefinedAtom::sectionPositionEnd) ||
- atom.size() == 0);
-
// add to list of known atoms
_atoms.push_back(&atom);
OpenPOWER on IntegriCloud