Currently EH lowering code expects typeinfo to be global only.
authorAnton Korobeynikov <asl@math.spbu.ru>
Mon, 26 Jul 2010 18:45:39 +0000 (18:45 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Mon, 26 Jul 2010 18:45:39 +0000 (18:45 +0000)
commitb5a0ef99f8e2bd48f2fb2a3221d296d48f1d5940
tree0f8ade426fe9bb995d9e3825fc540bc1cbe66a11
parent88dafec7f931f2cbb91be0857030768e4c6c2e03
Currently EH lowering code expects typeinfo to be global only.
This assumption is not satisfied due to global mergeing.
Workaround the issue by temporary disablinge mergeing of const globals.
Also, ignore LLVM "special" globals. This fixes PR7716

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109423 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMGlobalMerge.cpp
test/CodeGen/ARM/2010-07-26-GlobalMerge.ll [new file with mode: 0644]