From 4d612807447579d071b67568836de40fc1a1ed91 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Thu, 17 Oct 2013 20:41:18 +0000 Subject: [PATCH] Make .asm a valid extension for assembly files This is a common extension on Windows, and now clang will assemble them instead of treating them as linker input which is the default for unknown file types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192919 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/Types.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Driver/Types.cpp b/lib/Driver/Types.cpp index 3b353041b2..d947ae7c03 100644 --- a/lib/Driver/Types.cpp +++ b/lib/Driver/Types.cpp @@ -139,6 +139,7 @@ types::ID types::lookupTypeForExtension(const char *Ext) { .Case("f", TY_PP_Fortran) .Case("F", TY_Fortran) .Case("s", TY_PP_Asm) + .Case("asm", TY_PP_Asm) .Case("S", TY_Asm) .Case("o", TY_Object) .Case("obj", TY_Object) -- 2.40.0