test/DebugInfo/dwarfdump-test.test: Tweak expressions for Win32 to match backslashes. They are still odd, though.

For example, Paths are printed on Win32 as below;

/tmp/dbginfo\def2.cc:4:0
/tmp/dbginfo\include\decl2.h:1:0
/tmp/include\decl.h:5:0

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160505 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2012-07-19 13:40:09 +00:00
parent b26e2916c9
commit a45d4d1195

View File

@ -16,25 +16,25 @@ RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test3.elf-x86-64 \
RUN: --address=0x56d --functions | FileCheck %s -check-prefix INCLUDE_TEST_2
MAIN: main
MAIN-NEXT: /tmp/dbginfo/dwarfdump-test.cc:16:10
MAIN-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16:10
FUNCTION: _Z1fii
FUNCTION-NEXT: /tmp/dbginfo/dwarfdump-test.cc:11:18
FUNCTION-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:11:18
CTOR_WITH_SPEC: _ZN10DummyClassC1Ei
CTOR_WITH_SPEC-NEXT: /tmp/dbginfo/dwarfdump-test.cc:4:30
CTOR_WITH_SPEC-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:4:30
MANY_CU_1: a
MANY_CU_1-NEXT: /tmp/dbginfo/a.cc:2:0
MANY_CU_1-NEXT: /tmp/dbginfo{{[/\\]}}a.cc:2:0
MANY_CU_2: main
MANY_CU_2-NEXT: /tmp/dbginfo/main.cc:4:0
MANY_CU_2-NEXT: /tmp/dbginfo{{[/\\]}}main.cc:4:0
ABS_ORIGIN_1: C
ABS_ORIGIN_1-NEXT: /tmp/dbginfo/def2.cc:4:0
ABS_ORIGIN_1-NEXT: /tmp/dbginfo{{[/\\]}}def2.cc:4:0
INCLUDE_TEST_1: _Z3do2v
INCLUDE_TEST_1-NEXT: /tmp/dbginfo/include/decl2.h:1:0
INCLUDE_TEST_1-NEXT: /tmp/dbginfo{{[/\\]}}include{{[/\\]}}decl2.h:1:0
INCLUDE_TEST_2: _Z3do1v
INCLUDE_TEST_2-NEXT: /tmp/include/decl.h:5:0
INCLUDE_TEST_2-NEXT: /tmp/include{{[/\\]}}decl.h:5:0