summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/Inputs/module-hash-strtab1.ll
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-07-06 17:56:01 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-07-06 17:56:01 +0000
commitc855615831d77ae8ca94df757a3f2cf605cb3e9f (patch)
treec5d953b261fe54f2cb08933e19c825dc66f125a0 /llvm/test/Bitcode/Inputs/module-hash-strtab1.ll
parent8d10129e59c2627e3a03abd30c12963631a3c362 (diff)
downloadbcm5719-llvm-c855615831d77ae8ca94df757a3f2cf605cb3e9f.tar.gz
bcm5719-llvm-c855615831d77ae8ca94df757a3f2cf605cb3e9f.zip
Bitcode: Include any strings added to the string table in the module hash.
Differential Revision: https://reviews.llvm.org/D35037 llvm-svn: 307286
Diffstat (limited to 'llvm/test/Bitcode/Inputs/module-hash-strtab1.ll')
-rw-r--r--llvm/test/Bitcode/Inputs/module-hash-strtab1.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/module-hash-strtab1.ll b/llvm/test/Bitcode/Inputs/module-hash-strtab1.ll
new file mode 100644
index 00000000000..6b4a3fce07e
--- /dev/null
+++ b/llvm/test/Bitcode/Inputs/module-hash-strtab1.ll
@@ -0,0 +1,10 @@
+source_filename = "foo.c"
+
+$com = comdat any
+
+define void @main() comdat($com) {
+ call void @bar()
+ ret void
+}
+
+declare void @bar()
OpenPOWER on IntegriCloud