summaryrefslogtreecommitdiff
path: root/llvm/.gitattributes
diff options
context:
space:
mode:
authorZhen Cao <zhen.cao@autodesk.com>2017-11-17 16:17:56 +0000
committerZhen Cao <zhen.cao@autodesk.com>2017-11-17 16:17:56 +0000
commitac358137f7395b4217eb65a1a860ed2eecf1d70e (patch)
treee9372713277ff3eaddaf172af7f4e6c0ddb2aa80 /llvm/.gitattributes
parent0924094e347ed2bf3c6824f27931ec3571089e7b (diff)
downloadllvm-ac358137f7395b4217eb65a1a860ed2eecf1d70e.tar.gz
[MC] Fix regression tests on Windows when git “core.autocrlf” is set to true.
Differential Revision: https://reviews.llvm.org/D39737 llvm-svn: 318528
Diffstat (limited to 'llvm/.gitattributes')
-rw-r--r--llvm/.gitattributes12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/.gitattributes b/llvm/.gitattributes
new file mode 100644
index 000000000000..e7d6fd6d93d9
--- /dev/null
+++ b/llvm/.gitattributes
@@ -0,0 +1,12 @@
+# binary files
+test/Object/Inputs/*.a-* binary
+test/tools/dsymutil/Inputs/* binary
+test/tools/llvm-ar/Inputs/*.lib binary
+test/tools/llvm-objdump/Inputs/*.a binary
+test/tools/llvm-rc/Inputs/* binary
+test/tools/llvm-strings/Inputs/numbers binary
+test/MC/AsmParser/incbin_abcd binary
+test/YAMLParser/spec-09-02.test binary
+
+# Windows line ending test
+test/MC/AsmParser/preserve-comments-crlf.s text eol=crlf