From c498947f8cf6dd4eb7bf4d589ca0f3816fd77d36 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 4 Jan 2022 07:59:44 -0800 Subject: Export of internal Abseil changes -- 620668e56950d7cfc39db2cd321adf265199ad77 by Abseil Team : absl::random compiles (at least for some cases) with -Wconversion -Wsign-compare PiperOrigin-RevId: 419595521 -- 746651e5fbcab6080d25c4eef8617fc289a448f6 by Abseil Team : Annotate FlagImpl storage buffer Flag type can contain legit uninitialized bits, e.g. padding. When the code calls bit_cast as int64_t, it will contain those bits as well. Then when we pass the int into the store it's UB for C++ and will be reported by the new msan. PiperOrigin-RevId: 418666492 GitOrigin-RevId: 620668e56950d7cfc39db2cd321adf265199ad77 Change-Id: Idd1190f5c98a0a13c4019f3d92cec0313822084c --- absl/flags/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'absl/flags/CMakeLists.txt') diff --git a/absl/flags/CMakeLists.txt b/absl/flags/CMakeLists.txt index 7f3298e9..29c85ad3 100644 --- a/absl/flags/CMakeLists.txt +++ b/absl/flags/CMakeLists.txt @@ -105,6 +105,7 @@ absl_cc_library( ${ABSL_DEFAULT_LINKOPTS} DEPS absl::config + absl::dynamic_annotations absl::fast_type_id ) -- cgit v1.2.3