Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 14 of 14) sorted by relevance

/scripts/
DMakefile.kcsan5 cc-param = -mllvm -$(1)
7 cc-param = --param $(1)
13 …$(call cc-option,$(call cc-param,tsan-compound-read-before-write=1),$(call cc-option,$(call cc-par…
14 $(call cc-param,tsan-distinguish-volatile=1)
23 kcsan-cflags += $(call cc-option,$(call cc-param,tsan-instrument-func-entry-exit=0))
DMakefile.extrawarn19 KBUILD_CFLAGS += $(call cc-disable-warning, frame-address)
20 KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
36 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow-non-kprintf)
37 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation-non-kprintf)
49 KBUILD_CFLAGS += $(call cc-disable-warning, default-const-init-unsafe)
57 KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer)
68 KBUILD_CFLAGS += $(call cc-option, -Wcast-function-type)
71 KBUILD_CFLAGS-$(CONFIG_CC_NO_STRINGOP_OVERFLOW) += $(call cc-disable-warning, stringop-overflow)
72 KBUILD_CFLAGS-$(CONFIG_CC_STRINGOP_OVERFLOW) += $(call cc-option, -Wstringop-overflow)
75 KBUILD_CFLAGS += $(call cc-disable-warning, unterminated-string-initialization)
[all …]
Drecordmcount.pl123 my ($arch, $endian, $bits, $objdump, $objcopy, $cc,
153 $cc = 'gcc' if (!$cc);
208 $cc .= " -m64";
218 $cc .= " -m32";
221 if ($cc =~ /-DCC_USING_HOTPATCH/) {
228 $cc .= " -m64";
250 $cc .= " -mbig-endian ";
254 $cc .= " -mlittle-endian ";
260 $cc .= " -m64 ";
263 $cc .= " -m32 ";
[all …]
DMakefile.compiler12 cc-cross-prefix = $(firstword $(foreach c, $(1), \
51 cc-option = $(call __cc-option, $(CC),\
56 cc-option-yn = $(if $(call cc-option,$1),y,n)
60 cc-disable-warning = $(call cc-option,-Wno-$(strip $1))
DMakefile.kasan14 cc-param = $(call cc-option, -mllvm -$(1), $(call cc-option, --param $(1)))
44 CFLAGS_KASAN := $(call cc-option, -fsanitize=kernel-address \
46 $(call cc-option, -fsanitize=kernel-address \
101 CFLAGS_KASAN += $(call check-args, cc-param, $(kasan_params))
DKconfig.include26 # $(cc-option,<flag>)
28 cc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(1) …
44 cc-info := $(shell,$(srctree)/scripts/cc-version.sh $(CC))
45 $(error-if,$(success,test -z "$(cc-info)"),Sorry$(comma) this C compiler is not supported.)
46 cc-name := $(shell,set -- $(cc-info) && echo $1)
47 cc-version := $(shell,set -- $(cc-info) && echo $2)
64 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1))
65 m32-flag := $(cc-option-bit,-m32)
66 m64-flag := $(cc-option-bit,-m64)
Drust_is_available_test.py277 cc = self.generate_clang("clang version 999.0.0")
278 result = self.run_script(self.Expected.SUCCESS_WITH_WARNINGS, { "CC": cc })
351 for cc in ["gcc", "clang"]:
352 with self.subTest(cc=cc):
357 "CC": cc,
DMakefile.ubsan13 ubsan-cflags-$(CONFIG_UBSAN_TRAP) += $(call cc-option,-fsanitize-trap=undefined,-fsanitize-undefin…
Drust_is_available.sh233 cc_name=$($(dirname $0)/cc-version.sh $CC | cut -f1 -d' ')
DMakefile.host149 $(host-cxxobjs): $(obj)/%.o: $(obj)/%.cc FORCE
Dcheckpatch.pl5121 my $cc = '';
5123 $cc = substr($opline, $off + length($elements[$n + 1]));
5125 my $cb = "$ca$;$cc";
5164 $ca =~ /\s$/ && $cc =~ /^\s*[,\)]/) {
5172 $cc !~ /^\\/ && $cc !~ /^;/) {
5212 if ($ctx !~ /.x[WEC]/ && $cc !~ /^}/) {
5250 if ($op eq '*' && $cc =~/\s*$Modifier\b/) {
5274 ($ctx =~ /Wx./ && $cc =~ /^;/)) {
5342 $cc =~ /^\S+\@\S+>/) ||
5353 ($ca =~ /:$/ || $cc =~ /^:/)) {
/scripts/kconfig/
D.gitignore7 /qconf-moc.cc
DMakefile215 $(obj)/qconf-moc.cc: $(src)/qconf.h FORCE | $(obj)/qconf-bin
218 targets += qconf-moc.cc
/scripts/dtc/
Dchecks.c2027 struct check *cc = check_table[i]; in disable_warning_error() local
2030 for (j = 0; j < cc->num_prereqs; j++) in disable_warning_error()
2031 if (cc->prereq[j] == c) in disable_warning_error()
2032 disable_warning_error(cc, warn, error); in disable_warning_error()