1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-readobj/codeview-label.test
Reid Kleckner b92def0094 [codeview] Add support for label type records
MASM can produce these type records.

llvm-svn: 299388
2017-04-03 21:25:20 +00:00

17 lines
394 B
Plaintext

; RUN: llvm-readobj -codeview %S/Inputs/codeview-label.obj | FileCheck %s
; CHECK-LABEL: Label (0x1000) {
; CHECK-NEXT: TypeLeafKind: LF_LABEL (0xE)
; CHECK-NEXT: Mode: Near (0x0)
; CHECK-NEXT: }
; To reproduce codeview-label.obj:
; $ cat codeview-label.asm
; .model flat, C
; .code
; public foo
; foo:
; ret
; end
; $ ml -c -Zi codeview-label.asm