summaryrefslogtreecommitdiffstats
path: root/llvm/test/Demangle/ms-operators.test
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-08-21 21:23:49 +0000
committerZachary Turner <zturner@google.com>2018-08-21 21:23:49 +0000
commitdf4cd7cbf97c23f363ca07dc4038ecc48c1e6623 (patch)
tree350b2a3bac606c85da2ffce3d9129860f5afcc9f /llvm/test/Demangle/ms-operators.test
parent4ca11217fcd6c8892cfb688f5f4fe9588d55dee0 (diff)
downloadbcm5719-llvm-df4cd7cbf97c23f363ca07dc4038ecc48c1e6623.tar.gz
bcm5719-llvm-df4cd7cbf97c23f363ca07dc4038ecc48c1e6623.zip
[MS Demangler] Fix a few more edge cases.
I found these by running llvm-undname over a couple hundred megabytes of object files generated as part of building chromium. The issues fixed in this patch are: 1) decltype-auto return types. 2) Indirect vtables (e.g. const A::`vftable'{for `B'}) 3) Pointers, references, and rvalue-references to member pointers. I have exactly one remaining symbol out of a few hundred MB of object files that produces a name we can't demangle, and it's related to back-referencing. llvm-svn: 340341
Diffstat (limited to 'llvm/test/Demangle/ms-operators.test')
-rw-r--r--llvm/test/Demangle/ms-operators.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Demangle/ms-operators.test b/llvm/test/Demangle/ms-operators.test
index 7be3da94cc0..3eb49170b86 100644
--- a/llvm/test/Demangle/ms-operators.test
+++ b/llvm/test/Demangle/ms-operators.test
@@ -140,6 +140,9 @@
??_7Base@@6B@
; CHECK: const Base::`vftable'
+??_7A@B@@6BC@D@@@
+; CHECK: const B::A::`vftable'{for `D::C'}
+
??_8Middle2@@7B@
; CHECK: const Middle2::`vbtable'
OpenPOWER on IntegriCloud