[all-commits] [llvm/llvm-project] 759938: Use windows baskslash on anonymous tag locations i...
Zequan Wu via All-commits
all-commits at lists.llvm.org
Fri May 19 05:44:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75993812d5c1f269b781c34987748f2a792a579d
https://github.com/llvm/llvm-project/commit/75993812d5c1f269b781c34987748f2a792a579d
Author: Zequan Wu <zequanwu at google.com>
Date: 2023-05-19 (Fri, 19 May 2023)
Changed paths:
M clang/lib/AST/TypePrinter.cpp
A clang/test/CodeGen/Inputs/debug-info-slash.cpp
A clang/test/CodeGen/Inputs/debug-info-slash.h
A clang/test/CodeGen/debug-info-slash.test
Log Message:
-----------
Use windows baskslash on anonymous tag locations if using MSVCFormatting and it's not absolute path.
This fixes a nondeterminism on debug info when building on windows natively vs
cross building to windows.
[1] https://github.com/llvm/llvm-project/blob/llvmorg-17-init/clang/lib/Lex/HeaderSearch.cpp#L465
Differential Revision: https://reviews.llvm.org/D150817
More information about the All-commits
mailing list