Skip to content

Dwarf tests fail on windows due to path seperators #2781

Open
@sbc100

Description

@sbc100

I noticed this when enabling windows testing as part of CI for the time in #2646.

--- D:\a\binaryen\binaryen\test\passes\class_with_dwarf_noprint.bin.txt
+++ actual
@@ -180,7 +180,7 @@
                 DW_AT_name [DW_FORM_strp]	( .debug_str[0x000000e5] = "rng1")
                 DW_AT_type [DW_FORM_ref4]	(cu + 0x0037 => {0x00000037} "Random")
                 DW_AT_external [DW_FORM_flag_present]	(true)
-                DW_AT_decl_file [DW_FORM_data1]	("/tmp/emscripten_test_wasm3_2u9tontv/src.cpp")
+                DW_AT_decl_file [DW_FORM_data1]	("/tmp/emscripten_test_wasm3_2u9tontv\src.cpp")
                 DW_AT_decl_line [DW_FORM_data1]	(23)
                 DW_AT_location [DW_FORM_exprloc]	(DW_OP_addr 0x638)

May be worth fixing.. maybe not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions