summaryrefslogtreecommitdiffstats
path: root/abs/extra/llvm/add-discriminator-to-debuginfo-test.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-02-21 15:56:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-02-21 15:56:44 (GMT)
commit998c5fe43ec03366f26f1430c6453d623f314a51 (patch)
tree4bfc6f49df13ad7fe21667051430c537864a718c /abs/extra/llvm/add-discriminator-to-debuginfo-test.patch
parent65fb0683c063752f4b263203a737f6c3ae0a782e (diff)
downloadlinhes_pkgbuild-998c5fe43ec03366f26f1430c6453d623f314a51.zip
linhes_pkgbuild-998c5fe43ec03366f26f1430c6453d623f314a51.tar.gz
linhes_pkgbuild-998c5fe43ec03366f26f1430c6453d623f314a51.tar.bz2
llvm: update to 7.0.1
Diffstat (limited to 'abs/extra/llvm/add-discriminator-to-debuginfo-test.patch')
-rw-r--r--abs/extra/llvm/add-discriminator-to-debuginfo-test.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/extra/llvm/add-discriminator-to-debuginfo-test.patch b/abs/extra/llvm/add-discriminator-to-debuginfo-test.patch
new file mode 100644
index 0000000..aa67d52
--- /dev/null
+++ b/abs/extra/llvm/add-discriminator-to-debuginfo-test.patch
@@ -0,0 +1,25 @@
+From cc1f2a595ead516812a6c50398f0f3480ebe031f Mon Sep 17 00:00:00 2001
+From: Jonas Devlieghere <jonas@devlieghere.com>
+Date: Fri, 21 Sep 2018 12:28:44 +0000
+Subject: [PATCH] [test] Fix Assembler/debug-info.ll
+
+Update Assembler/debug-info.ll to contain discriminator.
+
+git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342727 91177308-0d34-0410-b5e6-96231b3b80d8
+---
+ test/Assembler/debug-info.ll | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/Assembler/debug-info.ll b/test/Assembler/debug-info.ll
+index 4404b741d343..d54dba07ac1e 100644
+--- a/test/Assembler/debug-info.ll
++++ b/test/Assembler/debug-info.ll
+@@ -83,7 +83,7 @@
+ ; CHECK-NEXT: !32 = !DIFile(filename: "file", directory: "dir", checksumkind: CSK_MD5, checksum: "000102030405060708090a0b0c0d0e0f")
+ !35 = !DIFile(filename: "file", directory: "dir", checksumkind: CSK_MD5, checksum: "000102030405060708090a0b0c0d0e0f")
+
+-; CHECK-NEXT: !33 = !DICompositeType(tag: DW_TAG_variant_part, name: "A", scope: !14, size: 64)
++; CHECK-NEXT: !33 = !DICompositeType(tag: DW_TAG_variant_part, name: "A", scope: !14, size: 64, discriminator: !34)
+ ; CHECK-NEXT: !34 = !DIDerivedType(tag: DW_TAG_member, scope: !33, baseType: !35, size: 64, align: 64, flags: DIFlagArtificial)
+ ; CHECK-NEXT: !35 = !DIBasicType(name: "u64", size: 64, encoding: DW_ATE_unsigned)
+ !36 = !DICompositeType(tag: DW_TAG_variant_part, name: "A", scope: !16, size: 64, discriminator: !37)