• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: not llvm-readobj -codeview-merged-types %S/Inputs/codeview-cycle.obj 2>&1 | FileCheck %s
2
3; CHECK: Error{{.*}} input type graph contains cycles
4
5; To reproduce codeview-cycle.obj:
6; $ cat codeview-cycle.asm
7;       .model  flat, C
8;       .code
9; pfoo_list TYPEDEF PTR foo_list
10; foo_list STRUCT
11;       next pfoo_list ?
12;       data dd ?
13; foo_list ENDS
14;       public  foo
15; foo proc dst:ptr foo_list
16;       ret
17; foo   endp
18;       end
19; $ ml -c -Zi codeview-cycle.asm
20