File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -159,30 +159,13 @@ static bool cleanup_symbol_name(char *s)
159159 * character in an identifier in C. Suffixes observed:
160160 * - foo.llvm.[0-9a-f]+
161161 * - foo.[0-9a-f]+
162- * - foo.[0-9a-f]+.cfi_jt
163162 */
164163 res = strchr (s , '.' );
165164 if (res ) {
166165 * res = '\0' ;
167166 return true;
168167 }
169168
170- if (!IS_ENABLED (CONFIG_CFI_CLANG ) ||
171- !IS_ENABLED (CONFIG_LTO_CLANG_THIN ) ||
172- CONFIG_CLANG_VERSION >= 130000 )
173- return false;
174-
175- /*
176- * Prior to LLVM 13, the following suffixes were observed when thinLTO
177- * and CFI are both enabled:
178- * - foo$[0-9]+
179- */
180- res = strrchr (s , '$' );
181- if (res ) {
182- * res = '\0' ;
183- return true;
184- }
185-
186169 return false;
187170}
188171
You can’t perform that action at this time.
0 commit comments