diff options
Diffstat (limited to 'recipes-devtools/clang/clang/0018-clang-Initial-implementation-of-fmacro-prefix-map-an.patch')
-rw-r--r-- | recipes-devtools/clang/clang/0018-clang-Initial-implementation-of-fmacro-prefix-map-an.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-devtools/clang/clang/0018-clang-Initial-implementation-of-fmacro-prefix-map-an.patch b/recipes-devtools/clang/clang/0018-clang-Initial-implementation-of-fmacro-prefix-map-an.patch index facef80..b570ac2 100644 --- a/recipes-devtools/clang/clang/0018-clang-Initial-implementation-of-fmacro-prefix-map-an.patch +++ b/recipes-devtools/clang/clang/0018-clang-Initial-implementation-of-fmacro-prefix-map-an.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6c8fcbbcce2003de4c7df649c01fbe0479405cf0 Mon Sep 17 00:00:00 2001 | 1 | From ba1d096576732493155834256698bfd3020790b3 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 15 Feb 2019 10:02:52 -0800 | 3 | Date: Fri, 15 Feb 2019 10:02:52 -0800 |
4 | Subject: [PATCH] clang: Initial implementation of -fmacro-prefix-map and | 4 | Subject: [PATCH] clang: Initial implementation of -fmacro-prefix-map and |
@@ -27,10 +27,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
27 | create mode 100644 clang/test/Preprocessor/file_test.h | 27 | create mode 100644 clang/test/Preprocessor/file_test.h |
28 | 28 | ||
29 | diff --git a/clang/include/clang/Basic/DiagnosticDriverKinds.td b/clang/include/clang/Basic/DiagnosticDriverKinds.td | 29 | diff --git a/clang/include/clang/Basic/DiagnosticDriverKinds.td b/clang/include/clang/Basic/DiagnosticDriverKinds.td |
30 | index eab453ee20e..adee339938e 100644 | 30 | index 12f1a7f6c48..0f8e94dad66 100644 |
31 | --- a/clang/include/clang/Basic/DiagnosticDriverKinds.td | 31 | --- a/clang/include/clang/Basic/DiagnosticDriverKinds.td |
32 | +++ b/clang/include/clang/Basic/DiagnosticDriverKinds.td | 32 | +++ b/clang/include/clang/Basic/DiagnosticDriverKinds.td |
33 | @@ -143,8 +143,8 @@ def err_drv_missing_arg_mtp : Error< | 33 | @@ -141,8 +141,8 @@ def err_drv_missing_arg_mtp : Error< |
34 | "missing argument to '%0'">; | 34 | "missing argument to '%0'">; |
35 | def err_drv_invalid_libcxx_deployment : Error< | 35 | def err_drv_invalid_libcxx_deployment : Error< |
36 | "invalid deployment target for -stdlib=libc++ (requires %0 or later)">; | 36 | "invalid deployment target for -stdlib=libc++ (requires %0 or later)">; |
@@ -111,10 +111,10 @@ index 7edbea86633..7077d0f043c 100644 | |||
111 | /// Cache that maps VLA types to size expressions for that type, | 111 | /// Cache that maps VLA types to size expressions for that type, |
112 | /// represented by instantiated Metadata nodes. | 112 | /// represented by instantiated Metadata nodes. |
113 | diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp | 113 | diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp |
114 | index 2508178423b..38970814432 100644 | 114 | index dd461a1976d..08165a60206 100644 |
115 | --- a/clang/lib/Driver/ToolChains/Clang.cpp | 115 | --- a/clang/lib/Driver/ToolChains/Clang.cpp |
116 | +++ b/clang/lib/Driver/ToolChains/Clang.cpp | 116 | +++ b/clang/lib/Driver/ToolChains/Clang.cpp |
117 | @@ -617,16 +617,30 @@ static void addDebugCompDirArg(const ArgList &Args, ArgStringList &CmdArgs, | 117 | @@ -618,16 +618,30 @@ static void addDebugCompDirArg(const ArgList &Args, ArgStringList &CmdArgs) { |
118 | 118 | ||
119 | /// Add a CC1 and CC1AS option to specify the debug file path prefix map. | 119 | /// Add a CC1 and CC1AS option to specify the debug file path prefix map. |
120 | static void addDebugPrefixMapArg(const Driver &D, const ArgList &Args, ArgStringList &CmdArgs) { | 120 | static void addDebugPrefixMapArg(const Driver &D, const ArgList &Args, ArgStringList &CmdArgs) { |
@@ -147,7 +147,7 @@ index 2508178423b..38970814432 100644 | |||
147 | /// Vectorize at all optimization levels greater than 1 except for -Oz. | 147 | /// Vectorize at all optimization levels greater than 1 except for -Oz. |
148 | /// For -Oz the loop vectorizer is disabled, while the slp vectorizer is | 148 | /// For -Oz the loop vectorizer is disabled, while the slp vectorizer is |
149 | /// enabled. | 149 | /// enabled. |
150 | @@ -1311,6 +1325,8 @@ void Clang::AddPreprocessingOptions(Compilation &C, const JobAction &JA, | 150 | @@ -1317,6 +1331,8 @@ void Clang::AddPreprocessingOptions(Compilation &C, const JobAction &JA, |
151 | // For IAMCU add special include arguments. | 151 | // For IAMCU add special include arguments. |
152 | getToolChain().AddIAMCUIncludeArgs(Args, CmdArgs); | 152 | getToolChain().AddIAMCUIncludeArgs(Args, CmdArgs); |
153 | } | 153 | } |