diff options
author | Nick Kledzik <kledzik@apple.com> | 2014-11-06 01:09:13 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2014-11-06 01:09:13 +0000 |
commit | 5c4693d8d20ad5fb354f247907376cd9d07d514f (patch) | |
tree | 388a864aec3c9cd8bde47953bcb785961b81c347 /lld/lib/Core/DefinedAtom.cpp | |
parent | 30804c42207801541c84346fcc8ec6e5333def34 (diff) | |
download | bcm5719-llvm-5c4693d8d20ad5fb354f247907376cd9d07d514f.tar.gz bcm5719-llvm-5c4693d8d20ad5fb354f247907376cd9d07d514f.zip |
[mach-o] Add support for interposing tuples section
Darwin uses two-level-namespace lookup for symbols which means the static
linker records where each symbol must be found at runtime. Thus defining a
symbol in a dylib loaded earlier will not effect where symbols needed by
later dylibs will be found. Instead overriding is done through a section
of type S_INTERPOSING which contains tuples of <interposer, interposee>.
llvm-svn: 221421
Diffstat (limited to 'lld/lib/Core/DefinedAtom.cpp')
-rw-r--r-- | lld/lib/Core/DefinedAtom.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/lib/Core/DefinedAtom.cpp b/lld/lib/Core/DefinedAtom.cpp index 6b9a08a161f..fa2fa45f695 100644 --- a/lld/lib/Core/DefinedAtom.cpp +++ b/lld/lib/Core/DefinedAtom.cpp @@ -64,6 +64,7 @@ DefinedAtom::ContentPermissions DefinedAtom::permissions(ContentType type) { case typeCStringPtr: case typeObjCClassPtr: case typeObjC2CategoryList: + case typeInterposingTuples: case typeTLVInitialData: case typeTLVInitialZeroFill: case typeTLVInitializerPtr: |