diff options
Diffstat (limited to 'llvm/test/DebugInfo/COFF/class-options-common.ll')
-rw-r--r-- | llvm/test/DebugInfo/COFF/class-options-common.ll | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/COFF/class-options-common.ll b/llvm/test/DebugInfo/COFF/class-options-common.ll index 46350552e07..0134d38002d 100644 --- a/llvm/test/DebugInfo/COFF/class-options-common.ll +++ b/llvm/test/DebugInfo/COFF/class-options-common.ll @@ -1,5 +1,6 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s +; RUN: llc < %s | FileCheck %s --check-prefix=ASM-INLINE-COMMENTS ; ; Command to generate function-options.ll ; $ clang++ class-options-common.cpp -S -emit-llvm -g -gcodeview -o class-options-common.ll @@ -651,6 +652,28 @@ ; CHECK: } ; CHECK: ] +; ASM-INLINE-COMMENTS: # MethodOverloadList (0x1088) +; ASM-INLINE-COMMENTS: .short 0x12 # Record length +; ASM-INLINE-COMMENTS: .short 0x1206 # Record kind: LF_METHODLIST +; ASM-INLINE-COMMENTS: .short 0x3 # Method +; ASM-INLINE-COMMENTS: # Attrs: Public +; ASM-INLINE-COMMENTS: .short 0x0 +; ASM-INLINE-COMMENTS: .long 0x1083 # Type: void Foo::() +; ASM-INLINE-COMMENTS: .short 0x3 # Attrs: Public +; ASM-INLINE-COMMENTS: .short 0x0 +; ASM-INLINE-COMMENTS: .long 0x1087 # Type: void Foo::(const Foo&) +; ASM-INLINE-COMMENTS: # MethodOverloadList (0x1088) { +; ASM-INLINE-COMMENTS: # TypeLeafKind: LF_METHODLIST (0x1206) +; ASM-INLINE-COMMENTS: # Method [ +; ASM-INLINE-COMMENTS: # AccessSpecifier: Public (0x3) +; ASM-INLINE-COMMENTS: # Type: void Foo::() (0x1083) +; ASM-INLINE-COMMENTS: # ] +; ASM-INLINE-COMMENTS: # Method [ +; ASM-INLINE-COMMENTS: # AccessSpecifier: Public (0x3) +; ASM-INLINE-COMMENTS: # Type: void Foo::(const Foo&) (0x1087) +; ASM-INLINE-COMMENTS: # ] +; ASM-INLINE-COMMENTS: # } + ; ModuleID = 'class-options-common.cpp' source_filename = "class-options.cpp" |