aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2016-02-02 21:37:15 +0000
committerPete Cooper <peter_cooper@apple.com>2016-02-02 21:37:15 +0000
commitd4f414583ad3d7f5e599d8060ec6aaf99958a946 (patch)
tree90fa595acec2e1174873f714fe673a92cc85e07d /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parentde4208122b32222a575c4d817adfa080be7b1168 (diff)
downloadllvm-d4f414583ad3d7f5e599d8060ec6aaf99958a946.zip
llvm-d4f414583ad3d7f5e599d8060ec6aaf99958a946.tar.gz
llvm-d4f414583ad3d7f5e599d8060ec6aaf99958a946.tar.bz2
Fix handling of mach header and DSO handle symbols.
The magic file which contained these symbols inherited from archive which meant that the resolver didn't add the required atoms as archive members only get added when referenced. Instead we now inherit from SimpleFile which always links in the atoms needed. The second issue was in the handling of these symbols when we emit the MachO. The mach header symbol needs to be in the atom list as it gets an offset (0), and being in the atom list makes sure it is emitted to the symbol table. DSO handles are not emitted to the symbol table. rdar://problem/24450654 llvm-svn: 259574
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions