Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / tools / llvm-pdbdump / injected-sources.test
blob9d2d1b91a05c55df5dea8500d8cbd4ef07210bb0
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 ; REQUIRES: diasdk
6 ; RUN: llvm-pdbutil pretty -injected-sources -injected-source-content \
7 ; RUN:   %p/Inputs/InjectedSource.pdb | FileCheck %s
8 ; RUN: llvm-pdbutil pretty -injected-sources -injected-source-content \
9 ; RUN:   %p/Inputs/ClassLayoutTest.pdb | FileCheck --check-prefix=NEGATIVE %s
11 ; CHECK:      ---INJECTED SOURCES---
12 ; CHECK:      c.natvis (140 bytes): obj=<null>, vname=c.natvis, crc=334478030, compression=None
13 ; CHECK-NEXT: <?xml version="1.0" encoding="utf-8"?>
14 ; CHECK-NEXT: <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
15 ; CHECK-NEXT: </AutoVisualizer>
16 ; CHECK:      a.natvis (140 bytes): obj=<null>, vname=a.natvis, crc=334478030, compression=None
17 ; CHECK-NEXT: <?xml version="1.0" encoding="utf-8"?>
18 ; CHECK-NEXT: <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
19 ; CHECK-NEXT: </AutoVisualizer>
20 ; CHECK:      b.natvis (294 bytes): obj=<null>, vname=b.natvis, crc=2059731902, compression=None
21 ; CHECK-NEXT: <?xml version="1.0" encoding="utf-8"?>
22 ; CHECK-NEXT: <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
23 ; CHECK-NEXT: <Type Name="Baz">
24 ; CHECK-NEXT:   <DisplayString>Third test</DisplayString>
25 ; CHECK-NEXT: </Type>
26 ; CHECK-NEXT: <Type Name="Buzz">
27 ; CHECK-NEXT:   <DisplayString>Fourth test</DisplayString>
28 ; CHECK-NEXT: </Type>
29 ; CHECK-NEXT: </AutoVisualizer>
31 ; NEGATIVE:      ---INJECTED SOURCES---
32 ; NEGATIVE-NEXT: There are no injected sources.