[Orc] During module partitioning, rename anonymous and asm-private globals.
authorLang Hames <lhames@gmail.com>
Sun, 12 Apr 2015 20:05:51 +0000 (20:05 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 12 Apr 2015 20:05:51 +0000 (20:05 +0000)
commit2ae6c65416a4467d888cb5542cf7ab8e2d67bf20
tree4b3d054ecc5641767d508146a4ee9afb534e3edd
parente0a6f13a5ddd2942f09efd8d77a62c76638b4ccc
[Orc] During module partitioning, rename anonymous and asm-private globals.

If they're not (re)named, these globals will fail to resolve when the
partitioned modules are linked.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234707 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
test/ExecutionEngine/OrcLazy/anonymous_globals.ll [new file with mode: 0644]