summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-09-10 18:51:56 +0000
committerBill Wendling <isanbard@gmail.com>2010-09-10 18:51:56 +0000
commitde49f360ec4780acb382a3ae923d1716fdb0dc03 (patch)
tree7a4af7e6a1aa5127e26a225a34806cdd84f7056e /test
parent979927ab26a1832ee2ecd1edb17d50184756f474 (diff)
downloadllvm-de49f360ec4780acb382a3ae923d1716fdb0dc03.tar.gz
llvm-de49f360ec4780acb382a3ae923d1716fdb0dc03.tar.bz2
llvm-de49f360ec4780acb382a3ae923d1716fdb0dc03.tar.xz
Auto-upgrade the magic ".llvm.eh.catch.all.value" global to
"llvm.eh.catch.all.value". Only the name needs to be changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Bitcode/AutoUpgradeGlobals.ll3
-rw-r--r--test/Bitcode/AutoUpgradeGlobals.ll.bcbin0 -> 312 bytes
2 files changed, 3 insertions, 0 deletions
diff --git a/test/Bitcode/AutoUpgradeGlobals.ll b/test/Bitcode/AutoUpgradeGlobals.ll
new file mode 100644
index 0000000000..8a8767337d
--- /dev/null
+++ b/test/Bitcode/AutoUpgradeGlobals.ll
@@ -0,0 +1,3 @@
+; This isn't really an assembly file. It just runs test on bitcode to ensure
+; it is auto-upgraded.
+; RUN: llvm-dis < %s.bc | not grep {i32 @\\.llvm\\.eh}
diff --git a/test/Bitcode/AutoUpgradeGlobals.ll.bc b/test/Bitcode/AutoUpgradeGlobals.ll.bc
new file mode 100644
index 0000000000..1abe9688e2
--- /dev/null
+++ b/test/Bitcode/AutoUpgradeGlobals.ll.bc
Binary files differ