[PATCH] D99534: [dsymutil] Relocate DW_TAG_label

Ying Yi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 02:59:14 PDT 2021


MaggieYi added a comment.

Hi Jonas,

The label2.test failed on Windows in the line 19:

  CHECK-NEXT:   DW_AT_decl_file       ("/tmp/label/label.c")

The generated DW_AT_decl_file On Windows is:

  CHECK-NEXT:   DW_AT_decl_file       ("/tmp/label\label.c")   <--- Windows path separator

Could you please look at the test and make it pass on Windows as well?

For example, changing the Check line to:

  CHECK-NEXT:   DW_AT_decl_file       ("/tmp/label{{[/\\]}}label.c")

Thanks,
Maggie


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99534/new/

https://reviews.llvm.org/D99534



More information about the llvm-commits mailing list