[PATCH] D147256: [DebugInfo] Fix file path separator when targeting windows.

Zequan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 11:50:04 PDT 2023


zequanwu updated this revision to Diff 511496.
zequanwu added a comment.

- Add a `-use-target-path-separator` flag for llc.
- Add test for llc with that flag.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147256

Files:
  clang/include/clang/Basic/LangOptions.h
  clang/lib/CodeGen/BackendUtil.cpp
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/test/CodeGen/debug-info-slash.c
  llvm/include/llvm/CodeGen/CommandFlags.h
  llvm/include/llvm/Target/TargetOptions.h
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/lib/CodeGen/CommandFlags.cpp
  llvm/test/DebugInfo/COFF/use-target-path-separator.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147256.511496.patch
Type: text/x-patch
Size: 9602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230406/60553b14/attachment-0001.bin>


More information about the cfe-commits mailing list