Commit Graph

  • 0d116682dd Update the Abseil minumum GCC version to GCC 7, which is the earliest supported GCC version according to https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md Derek Mauro 2023-01-19 20:19:22 -08:00
  • 29b2a75025 Turn off the new GCC 13 warning for -Wself-move in tests since we intentionally test this behavior Derek Mauro 2023-01-19 12:25:19 -08:00
  • 2039d5dff0 Add missing include and remove unused includes Derek Mauro 2023-01-19 12:04:44 -08:00
  • abd742f122 Doc fix: state that Base64Escape does in fact produce padding. While at it, harmonize Base64Unescape and WebSafeBase64Unescape's documentation of padding. Abseil Team 2023-01-19 08:55:27 -08:00
  • fe6ec8efab Only enable cordz on Linux with thread_local support Derek Mauro 2023-01-19 07:33:56 -08:00
  • 0a75e76bda Minor formatting: Fix misplaced space. Abseil Team 2023-01-19 02:53:37 -08:00
  • 25a85cdd6f Use absl::string_view by value rather than by const reference while iterating over collections. Abseil Team 2023-01-19 00:47:09 -08:00
  • 857325a937 Clarify contract of AlphaNum as only a function parameter type Tom Manshreck 2023-01-18 09:44:37 -08:00
  • a86f1cec94 extern-ify NullGuard's "(null)" strings to save linker input bytes. Andy Getzendanner 2023-01-17 14:30:52 -08:00
  • 4b34e19765 Optimize RemoveCrc32cSuffix. Abseil Team 2023-01-17 12:33:40 -08:00
  • e1c897f09a In sanitizer mode, detect when references become invalidated after reserved growth runs out. Evan Brown 2023-01-17 10:34:29 -08:00
  • 1fb3830b1c Tweak the compilation condition for IsHashableTest.PoisonHash Derek Mauro 2023-01-17 08:49:13 -08:00
  • bb63a76710 Use NullGuard for signed and unsigned char pointer types, and extend volatile pointer type testcase to char pointers. Andy Getzendanner 2023-01-13 01:22:59 -08:00
  • 49081b8d71 Replace the tag "no_test_msvc_x64" with "no_test_lexan" in absl. Abseil Team 2023-01-12 13:01:02 -08:00
  • 61fc09665e Don't use Arm vector intrinsics when compiling with CUDA in device mode. Abseil Team 2023-01-11 22:11:12 -08:00
  • 0db27008fb Improve BitGen stability documentation Abseil Team 2023-01-11 15:06:02 -08:00
  • 570dc02b0b Import of CCTZ from GitHub. Abseil Team 2023-01-11 12:03:54 -08:00
  • 10ff83d9b4 Update Abseil dependencies Derek Mauro 2023-01-11 08:52:58 -08:00
  • 52835439ca Refactor InlineData to allow for memory sanitizer changes step 2 Martijn Vels 2023-01-10 13:07:25 -08:00
  • f9e2a524e5 Rollback of PR #1349: direct_mmap: Use off_t on linux... Abseil Team 2023-01-10 09:24:11 -08:00
  • 78099461ac Replace generic 'base64 encoding' terminology with the specific RFCs they match. Abseil Team 2023-01-09 19:08:03 -08:00
  • 3e200f539f Clarify that Base64 unescaping methods expect their inputs to match particular RFC specifications. Abseil Team 2023-01-09 14:32:57 -08:00
  • 5169f3a45f Refactor InlineData to allow for memory sanitizer changes step 1 Martijn Vels 2023-01-09 11:28:53 -08:00
  • 708873b491 Use "#if GTEST_HAS_DEATH_TEST" instead of "#ifdef GTEST_HAS_DEATH_TEST" Tom Hughes 2023-01-09 09:57:44 -08:00
  • 209a595495 Merge pull request #1356 from MBkkt:patch-6 Copybara-Service 2023-01-09 09:00:49 -08:00
  • 74eee2aff6 Replace absl::Hash for inputs from 9 to 16 bytes according to AlphaZero findings Abseil Team 2023-01-07 09:57:55 -08:00
  • e160c5f534 Merge pull request #1349 from kraj:remove-off64_t Copybara-Service 2023-01-06 18:28:05 -08:00
  • 625a18016d Require 64-bit builds on x86 to use AcceleratedCrcMemcpyEngine Derek Mauro 2023-01-05 16:42:37 -08:00
  • 0510978362 In sanitizer mode, detect when invalidated iterators are compared. Evan Brown 2023-01-05 12:05:45 -08:00
  • 9ccc610263 Fix missing include Valery Mironov 2023-01-06 01:20:58 +03:00
  • 797f265d3d Move description of escaping to code that does the escaping rather than the CalculateBase64EscapedLenInternal helper method. Note that output padding is conditional on do_padding. Abseil Team 2023-01-05 09:11:04 -08:00
  • b0cc11b976 Remove ABSL_INTERNAL_UNREACHABLE Derek Mauro 2023-01-04 14:24:51 -08:00
  • 58ba57346c Require 64-bit builds on x86 to use CRC32 hardware acceleration Derek Mauro 2023-01-04 09:02:12 -08:00
  • 74d8b4d9bd Suggest similar flags in case of undefined flags. Abseil Team 2023-01-04 04:10:37 -08:00
  • 4e4e8d2854 Minor build/whitespace changes Derek Mauro 2023-01-03 12:45:25 -08:00
  • 45fdade6c0 direct_mmap: Use off_t on linux Khem Raj 2022-12-28 18:24:21 -08:00
  • 6abc195856 Minor include/whitespace changes Derek Mauro 2022-12-28 08:56:04 -08:00
  • 7b8de741d3 Add a comment about the layout of the fields in ThreadIdentity Abseil Team 2022-12-28 07:31:19 -08:00
  • de6fca2110 [NFC] fix typo in comment. Abseil Team 2022-12-27 16:03:34 -08:00
  • 9733617ebb Clean up the XRay annotation leftover on mutex. Abseil Team 2022-12-27 10:54:07 -08:00
  • f7affaf32a Fix a bug in iterator validation code in which we don't update the table's reserved growth if the reservation wouldn't grow the table. Evan Brown 2022-12-22 14:59:02 -08:00
  • 8d77ac515b Change Bool to BoolT in order to avoid a macro conflict from X11/Xlib.h Jorg Brown 2022-12-22 13:47:17 -08:00
  • 3d646b0885 Replace ABSL_INTERNAL_UNREACHABLE with ABSL_UNREACHABLE() Derek Mauro 2022-12-22 10:46:57 -08:00
  • e1444d8f5f Update FixedArray doc comments to match actual template param names Lawrence Wolf-Sonkin 2022-12-22 09:49:55 -08:00
  • 8e6582b877 Add a NOLINT to ABSL_UNREACHABLE() to disable the clang-tidy warning that the assert can be a static_assert Derek Mauro 2022-12-22 07:36:35 -08:00
  • 8d0b869ad2 Fix some -Wshorten-64-to-32 for 32bit platform Abseil Team 2022-12-22 03:26:37 -08:00
  • de8322344a Remove unneeded "friends" from KernelTimeout. Abseil Team 2022-12-21 11:58:44 -08:00
  • 6a876051b1 Adds ABSL_UNREACHABLE(), a public symbol to replace ABSL_INTERNAL_UNREACHABLE Derek Mauro 2022-12-21 07:31:39 -08:00
  • 8caa47cfcd bits_benchmark: Fix typo to benchmark the intended function Derek Mauro 2022-12-20 17:22:10 -08:00
  • 1f8da02dc8 Tagged most functions in absl/time/time.h as ABSL_ATTRIBUTE_CONST_FUNCTION or ABSL_ATTRIBUTE_PURE_FUNCTION Abseil Team 2022-12-20 15:37:58 -08:00
  • 9a2c7bf98f Restrict visibility of absl/container:hash_function_defaults. Chris Kennelly 2022-12-19 16:12:15 -08:00
  • a1ec5d62e7 In sanitizer mode, add generations to swisstable iterators and backing arrays so that we can detect invalid iterator use. Evan Brown 2022-12-19 11:53:21 -08:00
  • dbc61b490c Adds -Wsign-conversion to LLVM warnings for non-test code since Chromium builds Abseil with this warning. Derek Mauro 2022-12-19 10:47:26 -08:00
  • d2c0c9d061 Adds -Wshorten-64-to-32 to LLVM warnings for non-test code since Chromium builds Abseil with this warning. Derek Mauro 2022-12-19 09:42:11 -08:00
  • b1f792822b Fix a -Wsign-conversion and some -Wshorten-64-to-32. Andy Getzendanner 2022-12-19 07:43:33 -08:00
  • 95505fbfba Optimize raw_hash_set CountLeadingEmptyOrDeleted() on Arm Connal de Souza 2022-12-19 07:43:11 -08:00
  • 2468b189ee Use ABSL_LOG instead of LOG in absl::LogStreamer. Andy Getzendanner 2022-12-17 12:00:38 -08:00
  • 71927b4325 Replace absl::IsConvertibleHelper with std::is_convertible Abseil Team 2022-12-16 09:58:57 -08:00
  • d5240fc533 Add MakeAbsNs to KernelTimeout. Abseil Team 2022-12-15 16:09:01 -08:00
  • d241d91992 Fix the documentation of the atomic_hook.h registration functions to correctly state that only the first registered hook will be honored. Greg Falcon 2022-12-15 13:48:40 -08:00
  • e241656666 Add the ability to turn on warnings that get disabled in tests in GCC and LLVM build configs Derek Mauro 2022-12-15 13:34:43 -08:00
  • 3fe1e96ea9 Merge pull request #1341 from h-vetinari:pkgconfig Copybara-Service 2022-12-14 07:29:02 -08:00
  • a13ef44bf3 Prevent all CHECK functions from expanding macros for the error string. Mike Kruskal 2022-12-13 15:11:53 -08:00
  • 4cb6c38936 Add prefetch to crc32 Ilya Tokar 2022-12-13 13:57:36 -08:00
  • 1887dece5e Remove obsolete RFC 3548 from escaping.cc's Base64UnescapeInternal. (Note that the proper non-obsolete RFC 4648 is already listed in escaping.h's Base64Escape() documentation) Abseil Team 2022-12-12 14:00:16 -08:00
  • 553491a54c Only build the section of flag_benchmark used for viewing the disassembly under LLVM. Due to the issue described in https://github.com/abseil/abseil-cpp/issues/1340 and 8545dfb3ea it no longer builds under GCC. Derek Mauro 2022-12-12 13:15:40 -08:00
  • b23ae860ba Add a define for HWCAP_CPUID on platforms that are missing it Derek Mauro 2022-12-12 09:21:33 -08:00
  • ff5644bb34 Allow Cord to store chunked checksums Derek Mauro 2022-12-11 16:43:28 -08:00
  • 14abd930c6 add pkgconfig metadata for shared windows builds H. Vetinari 2022-10-21 21:06:25 +11:00
  • 0b8e676c1b Adding BigQuery package to randen_engine visibility Abseil Team 2022-12-08 18:32:37 -08:00
  • 522606b7fa Fix some ClangTidy warnings in raw_hash_set code. Evan Brown 2022-12-08 14:15:12 -08:00
  • ec583f2df2 Fixing macro expansion changes in new logging macros. Mike Kruskal 2022-12-08 13:44:17 -08:00
  • c353e2597f Eliminate AArch64-specific code paths from LowLevelHash Benjamin Barenblat 2022-12-08 10:59:50 -08:00
  • 523b86994f Change CommonFields from a private base class of raw_hash_set to be the first member of the settings_ CompressedTuple so that we can move growth_left into CommonFields. Evan Brown 2022-12-08 09:35:09 -08:00
  • 2e17768541 The abridged justification is as follows: - The deadlock seems to occur if flag initialization happens to occur while a sample is being created. - Each sample has its own mutex that is locked when a new sample is registered, i.e. created for the first time. - The flag implicitly creates a global sampler object which locks graveyard_'s mutex. - Usually, in PushDead, the graveyard is locked before the sample, hence triggering deadlock detection. - This lock order can never be recreated since this code is executed exactly once per sample object, and the sample object cannot be accessed until after the method returns. - It should therefore be safe to ignore any locking order condition that may occur during sample creation. Abseil Team 2022-12-08 08:25:41 -08:00
  • 9bff2a9302 Fixes issue where AbslStringify() breaks formatting with %d for enums Phoebe Liang 2022-12-07 12:49:08 -08:00
  • e9787e7d1d Add some missing copts and linkopts in logging and fix the warnings Derek Mauro 2022-12-07 08:54:32 -08:00
  • 5736d76ae6 Remove possible UB from CopyRaw() Martijn Vels 2022-12-07 07:14:42 -08:00
  • c96db73c09 Create alternate absl-prefixed versions of absl logging macros. Mike Kruskal 2022-12-06 13:55:58 -08:00
  • bcc29b8c26 Merge pull request #1338 from MBkkt:patch-5 Copybara-Service 2022-12-06 12:50:54 -08:00
  • a99a183cab Move implementations of absl logging to an internal file. Mike Kruskal 2022-12-06 12:38:52 -08:00
  • 21be1daa1c Update non_temporal_memcpy.h Valery Mironov 2022-12-06 21:32:36 +03:00
  • 6dab0bd99c Export the bug report template Derek Mauro 2022-12-05 13:10:37 -08:00
  • 95bcb63a22 Switch to a structured bug report form and redirect questions to the discussions section on GitHub Derek Mauro 2022-12-05 12:17:54 -08:00
  • 4e5ff1559c Add a compilation test for recursive hash map types Derek Mauro 2022-12-02 12:43:54 -08:00
  • afcb7de0cf Add AbslStringify support for enum types in Substitute. Abseil Team 2022-12-02 08:58:00 -08:00
  • 7cbdff8c13 Use a c++14-style constexpr initialization if c++14 constexpr is available. Jorg Brown 2022-12-02 07:27:34 -08:00
  • 1063d2b829 Move the vtable into a function to delay instantiation until the function is called. When the variable is a global the compiler is allowed to instantiate it more aggresively and it might happen before the types involved are complete. When it is inside a function the compiler can't instantiate it until after the functions are called. Samuel Benzaquen 2022-12-01 10:08:04 -08:00
  • a23d720c30 Cosmetic reformatting in a test. Marcin Kowalczyk 2022-12-01 09:37:19 -08:00
  • 296abbd35a Reorder base64 unescape methods to be below the escaping methods. Abseil Team 2022-11-30 12:46:08 -08:00
  • 66665d8d2e Fixes many compilation issues that come from having no external CI coverage of the accelerated CRC implementation and some differences bewteen the internal and external implementation. Derek Mauro 2022-11-30 10:58:38 -08:00
  • 94e9ee3f75 Remove static initializer from mutex.h. Abseil Team 2022-11-30 07:52:21 -08:00
  • e7e31f278c Import of CCTZ from GitHub. Abseil Team 2022-11-29 13:31:13 -08:00
  • 2908426052 Remove unused iostream include from crc32c.h Derek Mauro 2022-11-29 13:28:47 -08:00
  • 67a8b2270f Fix MSVC builds that reject C-style arrays of size 0 Derek Mauro 2022-11-29 12:11:06 -08:00
  • ee2fc89eb8 Remove deprecated use of absl::ToCrc32c() Derek Mauro 2022-11-29 10:46:22 -08:00
  • d03cced7d5 CRC: Make crc32c_t as a class for explicit control of operators Derek Mauro 2022-11-29 09:19:04 -08:00
  • 82196f059f Convert the full parser into constexpr now that Abseil requires C++14, and use this parser for the static checker. This fixes some outstanding bugs where the static checker differed from the dynamic one. Also, fix %v to be accepted with POSIX syntax. Samuel Benzaquen 2022-11-29 08:57:48 -08:00
  • 13708db87b Write (more) directly into the structured buffer from StringifySink, including for (size_t, char) overload. Andy Getzendanner 2022-11-28 15:14:27 -08:00
  • 558a0e466c Avoid using the non-portable type __m128i_u. Derek Mauro 2022-11-28 13:21:50 -08:00