[compiler-rt] 2002533 - [compiler-rt] [test] Mark a couple files as requiring LF newlines
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 12:44:28 PDT 2024
Author: Martin Storsjö
Date: 2024-10-23T22:43:50+03:00
New Revision: 2002533802dbe74c82476e30d093baf6d4cdee50
URL: https://github.com/llvm/llvm-project/commit/2002533802dbe74c82476e30d093baf6d4cdee50
DIFF: https://github.com/llvm/llvm-project/commit/2002533802dbe74c82476e30d093baf6d4cdee50.diff
LOG: [compiler-rt] [test] Mark a couple files as requiring LF newlines
Some of the profile test files fail if they have CRLF newlines;
add a .gitattributes file that forces them to be checked out
with LF newlines, regarless of the user Git configuration.
Added:
compiler-rt/test/profile/Inputs/.gitattributes
Modified:
Removed:
################################################################################
diff --git a/compiler-rt/test/profile/Inputs/.gitattributes b/compiler-rt/test/profile/Inputs/.gitattributes
new file mode 100644
index 00000000000000..c363807c4e95df
--- /dev/null
+++ b/compiler-rt/test/profile/Inputs/.gitattributes
@@ -0,0 +1,3 @@
+instrprof-gcov-*.c text eol=lf
+instrprof-gcov-*.cpp text eol=lf
+instrprof-shared-*.c text eol=lf
More information about the llvm-commits
mailing list