• Home
  • Raw
  • Download

Lines Matching +refs:clang +refs:format +refs:binary

225           # "arm64" and "both" (meaning a fat binary).
280 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
345 # If this is set, the clang plugins used on the buildbot will be used.
346 # Run tools/clang/scripts/update.sh to make sure they are compiled.
348 # Has no effect if 'clang' is not set as well.
352 # -fsanitize=address only works with clang, but asan=1 implies clang=1
368 # -fsanitize=leak only works with clang, but lsan=1 implies clang=1
373 # -fsanitize=thread only works with clang, but tsan=1 implies clang=1
374 # See http://clang.llvm.org/docs/ThreadSanitizer.html
379 # MemorySanitizer only works with clang, but msan=1 implies clang=1
380 # See http://clang.llvm.org/docs/MemorySanitizer.html
385 # -fsanitize=undefined only works with clang, but ubsan=1 implies clang=1
386 # See http://clang.llvm.org/docs/UsersManual.html
399 # for allocated objects. clang_type_profiler=1 implies clang=1.
456 # 0: static, language scoring tables compiled into the binary
528 'clang%': 0,
781 # linux_use_bundled_gold: whether to use the gold linker binary checked
792 # linux_use_bundled_binutils: whether to use the binary binutils
814 # gcc >= 4.8 or clang.
1236 'clang%': '<(clang)',
1239 # Control which version of clang to use when building for iOS. If set to
1240 # '1', uses the version of clang that ships with Xcode. If set to '0', uses
1241 # the version of clang that ships with the Chromium source. This variable
1246 # |gclient runhooks| to let clang run a plugin in every compilation.
1247 # Only has an effect if 'clang=1' is in GYP_DEFINES as well.
1249 …# GYP_DEFINES='clang=1 clang_load=/abs/path/to/libPrintFunctionNames.dylib clang_add_plugin=pr…
1254 # Tell ld64 to write map files describing binary layout. Useful
1255 # for looking at what contributes to binary size, e.g. with
1270 # And if we want to strip the binary after dumping symbols.
1458 # compiler_version doesn't work with clang
1460 # compiler_version works with clang.
1461 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so
1463 ['clang==0 and asan==0 and lsan==0 and tsan==0 and msan==0 and ubsan==0', {
1485 # not explicitly chosen to build with clang. Currently, this means all
1487 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that
1489 …['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsan==0 and tsan==0 and msa…
1697 # Location of the "strip" binary, used by both gyp and scripts.
1700 # Location of the "readelf" binary.
1765 'clang%': 1,
2050 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)'
2055 'clang%': 1,
2059 'clang%': 1,
2081 'clang%': 1,
2229 ['OS=="win" and (clang==1 or asan==1)', {
2336 # pnacl uses the clang compiler so we need to suppress all the
2337 # same warnings as we do for clang.
2338 # TODO(sbc): Remove these if/when they are removed from the clang
2397 ['OS=="linux" and clang==1 and host_arch=="ia32"', {
2418 ['clang==1 and OS!="win"', {
2419 # This is here so that all files get recompiled after a clang roll and
2420 # when turning clang on or off.
2424 … 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh --print-revision)'],
2524 ['clang==1 and asan==0 and msan==0 and tsan==0', {
2526 # slow. For now, don't create debug information with clang. See
2542 }, { # else clang!=1
2591 }], # clang!=1
2823 [ 'clang==1', {
2849 # Don't warn about printf format problems.
2851 '-Wno-format',
2859 [ 'os_posix==1 and OS!="mac" and OS!="ios" and (clang!=1 or chromeos==1)', {
2894 ['clang==1', {
3183 # 5%) but does not otherwise alter the output binary. This
3212 ['os_posix==1 and (OS!="linux" or clang!=1)', {
3264 # debug information format to dwarf-with-dsym. Since
3352 # GCC turns on -Wsign-compare for C++ under -Wall, but clang doesn't,
3383 # the binary size.
3414 # TODO(mostynb): shuffle clang/gcc_version/binutils_version
3417 …['linux_use_debug_fission==1 and linux_use_gold_flags==1 and (clang==1 or gcc_version>=48) and bin…
3440 # in the .comment section taking up binary size.
3476 ['clang==1', {
3643 # binary size in gcc 4.8.
3680 ['clang==1', {
3706 # with an 'ld' that redirects to gold, so that clang uses gold.
3779 ['clang==1', {
3824 ['clang==1 and OS=="android"', {
3827 # clang's -Wimplicit-exception-spec-mismatch warns about for some
3834 ['clang==1 and clang_use_chrome_plugins==1', {
3839 ['clang==1 and clang_load!=""', {
3844 ['clang==1 and clang_add_plugin!=""', {
3849 ['clang==1 and target_arch=="ia32"', {
3851 # Else building libyuv gives clang's register allocator issues,
3856 ['clang==1 and "<(GENERATOR)"=="ninja"', {
4098 # TODO(mithro): Watch for clang support at following thread:
4099 … # http://clang-developers.42468.n3.nabble.com/Adding-fuse-ld-support-to-clang-td4032180.html
4288 ['clang==1', {
4290 # Work around incompatibilities between bionic and clang
4313 # TODO: Enable clang support for Android x64. http://crbug.com/346626
4380 '-Wno-format-security',
4545 ['clang==1', {
4555 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
4595 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang',
4596 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++',
4600 ['clang==1 and clang_xcode==0 and clang_use_chrome_plugins==1', {
4605 ['clang==1 and clang_xcode==0 and clang_load!=""', {
4610 ['clang==1 and clang_xcode==0 and clang_add_plugin!=""', {
4615 ['clang==1 and "<(GENERATOR)"=="ninja"', {
4634 ['clang==1', {
4829 # debug information format to dwarf-with-dsym. Since
4884 # TODO(stuartmorgan): switch to c++0x (see TODOs in the clang
5208 ['clang==1', {
5272 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.5.0/include_sanitizer',
5278 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.5.0/lib/windows',
5387 ['clang==1 and ((OS!="mac" and OS!="ios") or clang_xcode==0) '
5390 ['CC', '<(make_clang_dir)/bin/clang'],
5391 ['CXX', '<(make_clang_dir)/bin/clang++'],
5396 ['clang==1 and OS=="win"', {
5399 ['CC', '<(make_clang_dir)/bin/clang-cl'],
5402 ['OS=="android" and clang==0', {
5424 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {