diff options
| author | Nilanjana Basu <nilanjana.basu87@gmail.com> | 2019-08-21 15:19:58 +0000 |
|---|---|---|
| committer | Nilanjana Basu <nilanjana.basu87@gmail.com> | 2019-08-21 15:19:58 +0000 |
| commit | ac3851c4340aab5664da0e29a4b7d9cd966332a9 (patch) | |
| tree | 718683505228f010319f845418cff2e8f66c2562 /llvm/test/DebugInfo/COFF/class-options-common.ll | |
| parent | 78347c979e10db22c49921d2c9587be7c896171d (diff) | |
| download | bcm5719-llvm-ac3851c4340aab5664da0e29a4b7d9cd966332a9.tar.gz bcm5719-llvm-ac3851c4340aab5664da0e29a4b7d9cd966332a9.zip | |
Improving CodeView debug info type record's inline comments
llvm-svn: 369533
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" |

