summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/COFF/function-options.ll
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-11-20 22:13:23 +0000
committerZachary Turner <zturner@google.com>2018-11-20 22:13:23 +0000
commit3826566c044e94f8c1e3d26c66f28a5545aab2bc (patch)
tree205198e12d6d4852395b0e97c45baecdc0112dc2 /llvm/test/DebugInfo/COFF/function-options.ll
parent8e9baa3f17c8e54906cbffbede6f9587fe01a8c3 (diff)
downloadbcm5719-llvm-3826566c044e94f8c1e3d26c66f28a5545aab2bc.tar.gz
bcm5719-llvm-3826566c044e94f8c1e3d26c66f28a5545aab2bc.zip
[CodeView] Mark this pointers as const.
This is for compatibility with MSVC, which also marks this pointers as being const-qualified. Fixes llvm.org/pr36526 Differential Revision: https://reviews.llvm.org/D54736 llvm-svn: 347353
Diffstat (limited to 'llvm/test/DebugInfo/COFF/function-options.ll')
-rw-r--r--llvm/test/DebugInfo/COFF/function-options.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/DebugInfo/COFF/function-options.ll b/llvm/test/DebugInfo/COFF/function-options.ll
index 0a8c3fba9ec..57d644724e5 100644
--- a/llvm/test/DebugInfo/COFF/function-options.ll
+++ b/llvm/test/DebugInfo/COFF/function-options.ll
@@ -82,7 +82,7 @@
; CHECK: TypeLeafKind: LF_MFUNCTION (0x1009)
; CHECK: ReturnType: void (0x3)
; CHECK: ClassType: BClass ({{.*}})
-; CHECK: ThisType: BClass* ({{.*}})
+; CHECK: ThisType: BClass* const ({{.*}})
; CHECK: CallingConvention: NearC (0x0)
; CHECK: FunctionOptions [ (0x2)
; CHECK: Constructor (0x2)
@@ -119,7 +119,7 @@
; CHECK: TypeLeafKind: LF_MFUNCTION (0x1009)
; CHECK: ReturnType: void (0x3)
; CHECK: ClassType: C1Class ({{.*}})
-; CHECK: ThisType: C1Class* ({{.*}})
+; CHECK: ThisType: C1Class* const ({{.*}})
; CHECK: CallingConvention: NearC (0x0)
; CHECK: FunctionOptions [ (0x0)
; CHECK: ]
@@ -156,7 +156,7 @@
; CHECK: TypeLeafKind: LF_MFUNCTION (0x1009)
; CHECK: ReturnType: void (0x3)
; CHECK: ClassType: C2Class ({{.*}})
-; CHECK: ThisType: C2Class* ({{.*}})
+; CHECK: ThisType: C2Class* const ({{.*}})
; CHECK: CallingConvention: NearC (0x0)
; CHECK: FunctionOptions [ (0x0)
; CHECK: ]
@@ -257,7 +257,7 @@
; CHECK: TypeLeafKind: LF_MFUNCTION (0x1009)
; CHECK: ReturnType: void (0x3)
; CHECK: ClassType: BStruct ({{.*}})
-; CHECK: ThisType: BStruct* ({{.*}})
+; CHECK: ThisType: BStruct* const ({{.*}})
; CHECK: CallingConvention: NearC (0x0)
; CHECK: FunctionOptions [ (0x2)
; CHECK: Constructor (0x2)
@@ -309,7 +309,7 @@
; CHECK: TypeLeafKind: LF_MFUNCTION (0x1009)
; CHECK: ReturnType: void (0x3)
; CHECK: ClassType: BUnion ({{.*}})
-; CHECK: ThisType: BUnion* ({{.*}})
+; CHECK: ThisType: BUnion* const ({{.*}})
; CHECK: CallingConvention: NearC (0x0)
; CHECK: FunctionOptions [ (0x0)
; CHECK: ]
OpenPOWER on IntegriCloud