From 3826566c044e94f8c1e3d26c66f28a5545aab2bc Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 20 Nov 2018 22:13:23 +0000 Subject: [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 --- llvm/test/DebugInfo/COFF/function-options.ll | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'llvm/test/DebugInfo/COFF/function-options.ll') 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: ] -- cgit v1.2.3