[DebugInfo] Support both forward and backward slashes in tests
authorPetr Hosek <phosek@google.com>
Tue, 15 Sep 2020 07:48:12 +0000 (00:48 -0700)
committerPetr Hosek <phosek@google.com>
Tue, 15 Sep 2020 07:59:58 +0000 (00:59 -0700)
commitc1f2fb5184ca79e9d53d51355b380c5441191878
treec942714ef87da7359b183e409dca698054fd9c9f
parente15996b5c6e9609c5902cae12455f43d7ba97a0f
[DebugInfo] Support both forward and backward slashes in tests

This addresses test failure revealed by 042c23506869.
lld/test/COFF/duplicate-dwarf.s
lld/test/COFF/undefined-symbol-dwarf.s
lld/test/ELF/conflict-debug-variable2.s
lld/test/wasm/debuginfo.test