Home
last modified time | relevance | path

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

/scripts/
DMakefile.ubsan3 CFLAGS_UBSAN += $(call cc-option, -fsanitize=shift)
4 CFLAGS_UBSAN += $(call cc-option, -fsanitize=integer-divide-by-zero)
5 CFLAGS_UBSAN += $(call cc-option, -fsanitize=unreachable)
6 CFLAGS_UBSAN += $(call cc-option, -fsanitize=signed-integer-overflow)
7 CFLAGS_UBSAN += $(call cc-option, -fsanitize=bounds)
8 CFLAGS_UBSAN += $(call cc-option, -fsanitize=object-size)
9 CFLAGS_UBSAN += $(call cc-option, -fsanitize=bool)
10 CFLAGS_UBSAN += $(call cc-option, -fsanitize=enum)
13 CFLAGS_UBSAN += $(call cc-option, -fsanitize=alignment)
18 CFLAGS_UBSAN += $(call cc-option, -Wno-maybe-uninitialized)
DMakefile.kasan17 cc-param = $(call cc-option, -mllvm -$(1), $(call cc-option, --param $(1)))
20 CFLAGS_KASAN_SHADOW := $(call cc-option, -fsanitize=kernel-address \
22 $(call cc-option, -fsanitize=kernel-address \
30 $(call cc-param,asan-globals=1) \
31 $(call cc-param,asan-instrumentation-with-call-threshold=$(call_threshold)) \
32 $(call cc-param,asan-stack=$(CONFIG_KASAN_STACK)) \
33 $(call cc-param,asan-instrument-allocas=1)
DMakefile.extrawarn9 KBUILD_CFLAGS += $(call cc-disable-warning, packed-not-aligned)
31 KBUILD_CFLAGS += $(call cc-option, -Wunused-but-set-variable)
32 KBUILD_CFLAGS += $(call cc-option, -Wunused-const-variable)
33 KBUILD_CFLAGS += $(call cc-option, -Wpacked-not-aligned)
34 KBUILD_CFLAGS += $(call cc-option, -Wstringop-truncation)
51 KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast)
52 KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access)
53 KBUILD_CFLAGS += $(call cc-disable-warning, cast-function-type-strict)
69 KBUILD_CFLAGS += $(call cc-option, -Wlogical-op)
72 KBUILD_CFLAGS += $(call cc-option, -Wmaybe-uninitialized)
[all …]
Drecordmcount.pl123 my ($arch, $endian, $bits, $objdump, $objcopy, $cc,
153 $cc = 'gcc' if (!$cc);
241 $cc .= " -m64";
251 $cc .= " -m32";
254 if ($cc =~ /-DCC_USING_HOTPATCH/) {
264 $cc .= " -m64";
286 $cc .= " -mbig-endian ";
290 $cc .= " -mlittle-endian ";
296 $cc .= " -m64 ";
299 $cc .= " -m32 ";
[all …]
DKconfig.include26 # $(cc-option,<flag>)
28 cc-option = $(success,$(CC) -Werror $(CLANG_FLAGS) $(1) -S -x c /dev/null -o /dev/null)
47 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1))
48 m32-flag := $(cc-option-bit,-m32)
49 m64-flag := $(cc-option-bit,-m64)
DKbuild.include72 # cc-cross-prefix
73 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
81 cc-cross-prefix = $(firstword $(foreach c, $(1), \
118 # Do not attempt to build with gcc plugins during cc-option tests.
122 # cc-option
123 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
125 cc-option = $(call __cc-option, $(CC),\
128 # cc-option-yn
129 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
130 cc-option-yn = $(call try-run,\
[all …]
DMakefile.host140 $(host-cxxobjs): $(obj)/%.o: $(src)/%.cc FORCE
Dcheckpatch.pl5117 my $cc = '';
5119 $cc = substr($opline, $off + length($elements[$n + 1]));
5121 my $cb = "$ca$;$cc";
5160 $ca =~ /\s$/ && $cc =~ /^\s*[,\)]/) {
5168 $cc !~ /^\\/ && $cc !~ /^;/) {
5208 if ($ctx !~ /.x[WEC]/ && $cc !~ /^}/) {
5246 if ($op eq '*' && $cc =~/\s*$Modifier\b/) {
5270 ($ctx =~ /Wx./ && $cc =~ /^;/)) {
5338 $cc =~ /^\S+\@\S+>/) ||
5349 ($ca =~ /:$/ || $cc =~ /^:/)) {
/scripts/dtc/
Dchecks.c1852 struct check *cc = check_table[i]; in disable_warning_error() local
1855 for (j = 0; j < cc->num_prereqs; j++) in disable_warning_error()
1856 if (cc->prereq[j] == c) in disable_warning_error()
1857 disable_warning_error(cc, warn, error); in disable_warning_error()