Home | History | Annotate | Download | only in PDB
      1 ; This testcase verifies that we can produce a minimal PDB, while
      2 ; serving as an example for how to construct a minimal PDB for other
      3 ; testcases.  It takes as input a small fragment of hand-written yaml
      4 ; that specifies nothing about the PDB other than a definition of one
      5 ; symbol that it contains.  Then it produces a PDB, and uses the
      6 ; resulting PDB to go back to yaml, and verify that the resulting yaml
      7 ; is identical.
      8 
      9 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.pdb %p/Inputs/one-symbol.yaml
     10 ; RUN: llvm-pdbutil pdb2yaml -minimal -module-syms -no-file-headers %t.pdb > %t.pdb.yaml
     11 ; RUN: diff -b %p/Inputs/one-symbol.yaml %t.pdb.yaml
     12