• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; The PDB committed to the repo does not seem to be recognized by older
2; versions of DIA SDK, so we xfail the test temporarily until we can
3; figure out how to get a PDB that makes all versions of MSVC happy.
4; RUN: llvm-pdbutil pretty -injected-sources -injected-source-content \
5; RUN:   %p/Inputs/InjectedSource.pdb | FileCheck %s
6; RUN: llvm-pdbutil pretty -injected-sources -injected-source-content \
7; RUN:   %p/Inputs/ClassLayoutTest.pdb | FileCheck --check-prefix=NEGATIVE %s
8
9; CHECK:      ---INJECTED SOURCES---
10; CHECK:      c.natvis (140 bytes): obj=<null>, vname=c.natvis, crc=334478030, compression=None
11; CHECK-NEXT: <?xml version="1.0" encoding="utf-8"?>
12; CHECK-NEXT: <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
13; CHECK-NEXT: </AutoVisualizer>
14; CHECK:      a.natvis (140 bytes): obj=<null>, vname=a.natvis, crc=334478030, compression=None
15; CHECK-NEXT: <?xml version="1.0" encoding="utf-8"?>
16; CHECK-NEXT: <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
17; CHECK-NEXT: </AutoVisualizer>
18; CHECK:      b.natvis (294 bytes): obj=<null>, vname=b.natvis, crc=2059731902, compression=None
19; CHECK-NEXT: <?xml version="1.0" encoding="utf-8"?>
20; CHECK-NEXT: <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
21; CHECK-NEXT: <Type Name="Baz">
22; CHECK-NEXT:   <DisplayString>Third test</DisplayString>
23; CHECK-NEXT: </Type>
24; CHECK-NEXT: <Type Name="Buzz">
25; CHECK-NEXT:   <DisplayString>Fourth test</DisplayString>
26; CHECK-NEXT: </Type>
27; CHECK-NEXT: </AutoVisualizer>
28
29; NEGATIVE:      ---INJECTED SOURCES---
30; NEGATIVE-NEXT: There are no injected sources.
31