summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-05-07 22:19:29 +0000
committerLang Hames <lhames@gmail.com>2019-05-07 22:19:29 +0000
commit1a10101e21829576be87040217e7f05913212315 (patch)
tree1de1ddb3a83a21779eb462e37923b40ff16f0f35 /llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h
parent8a3d3a9af6f05352355cdfa1dc883768c72f90f1 (diff)
downloadbcm5719-llvm-1a10101e21829576be87040217e7f05913212315.tar.gz
bcm5719-llvm-1a10101e21829576be87040217e7f05913212315.zip
Revert r360194 "[JITLink] Add support for MachO .alt_entry atoms."
The testcase is asserting on some bots - reverting while I investigate. llvm-svn: 360200
Diffstat (limited to 'llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h')
-rw-r--r--llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h b/llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h
index 540e2c366f0..340a11dfc0e 100644
--- a/llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h
+++ b/llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h
@@ -96,10 +96,6 @@ protected:
virtual Error addRelocations() = 0;
- /// Returns true if Atom A and Atom B are at a fixed offset from one another
- /// (i.e. if they're part of the same alt-entry chain).
- bool areLayoutLocked(const Atom &A, const Atom &B);
-
private:
static unsigned getPointerSize(const object::MachOObjectFile &Obj);
static support::endianness getEndianness(const object::MachOObjectFile &Obj);
@@ -112,7 +108,6 @@ private:
const object::MachOObjectFile &Obj;
std::unique_ptr<AtomGraph> G;
- DenseMap<const DefinedAtom *, const DefinedAtom *> AltEntryStarts;
DenseMap<unsigned, MachOSection> Sections;
StringMap<CustomAtomizeFunction> CustomAtomizeFunctions;
Optional<MachOSection> CommonSymbolsSection;
OpenPOWER on IntegriCloud