aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile9
-rw-r--r--build.yaml4
-rw-r--r--tools/run_tests/generated/configs.json3
-rw-r--r--tools/run_tests/generated/tests.json46
4 files changed, 62 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 942059248e..190798dbd5 100644
--- a/Makefile
+++ b/Makefile
@@ -157,6 +157,15 @@ LDXX_asan-noleaks = clang++
CPPFLAGS_asan-noleaks = -O0 -fsanitize-coverage=edge -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
LDFLAGS_asan-noleaks = -fsanitize=address
+VALID_CONFIG_c++-compat = 1
+CC_c++-compat = $(DEFAULT_CC)
+CXX_c++-compat = $(DEFAULT_CXX)
+LD_c++-compat = $(DEFAULT_CC)
+LDXX_c++-compat = $(DEFAULT_CXX)
+CFLAGS_c++-compat = -Wc++-compat
+CPPFLAGS_c++-compat = -O0
+DEFINES_c++-compat = _DEBUG DEBUG
+
VALID_CONFIG_ubsan = 1
REQUIRE_CUSTOM_LIBRARIES_ubsan = 1
CC_ubsan = clang
diff --git a/build.yaml b/build.yaml
index ff5ce618cd..9ca17eb33e 100644
--- a/build.yaml
+++ b/build.yaml
@@ -4332,6 +4332,10 @@ configs:
basicprof:
CPPFLAGS: -O2 -DGRPC_BASIC_PROFILER -DGRPC_TIMERS_RDTSC
DEFINES: NDEBUG
+ c++-compat:
+ CFLAGS: -Wc++-compat
+ CPPFLAGS: -O0
+ DEFINES: _DEBUG DEBUG
counters:
CPPFLAGS: -O2 -DGPR_LOW_LEVEL_COUNTERS
DEFINES: NDEBUG
diff --git a/tools/run_tests/generated/configs.json b/tools/run_tests/generated/configs.json
index 93dd6fb3d4..abbe76d60c 100644
--- a/tools/run_tests/generated/configs.json
+++ b/tools/run_tests/generated/configs.json
@@ -39,6 +39,9 @@
}
},
{
+ "config": "c++-compat"
+ },
+ {
"config": "ubsan",
"environ": {
"UBSAN_OPTIONS": "halt_on_error=1:print_stacktrace=1:suppressions=tools/ubsan_suppressions.txt"
diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json
index a08caf30d3..f9c5b7df33 100644
--- a/tools/run_tests/generated/tests.json
+++ b/tools/run_tests/generated/tests.json
@@ -42394,6 +42394,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42431,6 +42432,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42468,6 +42470,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42505,6 +42508,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42542,6 +42546,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42579,6 +42584,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42616,6 +42622,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42653,6 +42660,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42692,6 +42700,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42729,6 +42738,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42768,6 +42778,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42805,6 +42816,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42842,6 +42854,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42879,6 +42892,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42916,6 +42930,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42953,6 +42968,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -42990,6 +43006,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43027,6 +43044,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43064,6 +43082,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43101,6 +43120,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43138,6 +43158,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43175,6 +43196,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43212,6 +43234,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43249,6 +43272,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43286,6 +43310,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43323,6 +43348,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43360,6 +43386,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43397,6 +43424,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43434,6 +43462,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43471,6 +43500,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43508,6 +43538,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43547,6 +43578,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43584,6 +43616,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43623,6 +43656,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43660,6 +43694,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43697,6 +43732,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43734,6 +43770,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43771,6 +43808,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43808,6 +43846,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43845,6 +43884,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43882,6 +43922,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43919,6 +43960,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43956,6 +43998,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -43993,6 +44036,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -44030,6 +44074,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",
@@ -44067,6 +44112,7 @@
"asan-noleaks",
"asan-trace-cmp",
"basicprof",
+ "c++-compat",
"counters",
"dbg",
"gcov",