mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
Add support to recognize clang.
* lib/compiler.c: Identify the clang compiler. * lib/compiler.cc: Ditto.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2014-04-07 David Blaikie <dblaikie@gmail.com>
|
||||
|
||||
* lib/compiler.c: Identify the clang compiler.
|
||||
* lib/compiler.cc: Ditto.
|
||||
|
||||
2014-04-03 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
|
||||
|
@ -73,3 +73,7 @@ set need_a_set [regsub -all {\.} [join {xlc __xlc__} -] - compiler_info]
|
||||
#if defined (__ARMCC_VERSION)
|
||||
set compiler_info [join {armcc __ARMCC_VERSION} -]
|
||||
#endif
|
||||
|
||||
#if defined (__clang__)
|
||||
set compiler_info [join {clang __clang_major__ __clang_minor__ __clang_patchlevel__} -]
|
||||
#endif
|
||||
|
@ -61,3 +61,7 @@ set need_a_set [regsub -all {\.} [join {xlc __xlc__} -] - compiler_info]
|
||||
#if defined (__ARMCC_VERSION)
|
||||
set compiler_info [join {armcc __ARMCC_VERSION} -]
|
||||
#endif
|
||||
|
||||
#if defined (__clang__)
|
||||
set compiler_info [join {clang __clang_major__ __clang_minor__ __clang_patchlevel__} -]
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user