llvm.org GIT mirror llvm / 785cf2e test / tools / llvm-readobj / codeview-label.test
785cf2e

Tree @785cf2e (Download .tar.gz)

codeview-label.test @785cf2eraw · history · blame

; 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