diff options
author | Abseil Team <absl-team@google.com> | 2021-11-03 08:46:25 -0700 |
---|---|---|
committer | vslashg <gfalcon@google.com> | 2021-11-03 21:41:31 -0400 |
commit | d6c75d9dd895922bf5dc6c38245ac8887d3e68fc (patch) | |
tree | 8d44ea00a51f2614c755c2efe4aff4ac731e81b6 /absl/debugging | |
parent | 3b22e57740b8aec4920c4cfd76b78b3a4fcb2bb5 (diff) |
Export of internal Abseil changes
--
9f6ef337f282272bc098330c9ccacd9d39155db4 by Abseil Team <absl-team@google.com>:
Make DestroyElements an empty function if the value types are trivially deconstructible.
PiperOrigin-RevId: 407345743
--
a639bbf6f22446d6ba3da9e2c205e26cda4bebc5 by Derek Mauro <dmauro@google.com>:
Add ctest --output-on-failure to the CMake install test
PiperOrigin-RevId: 407333671
--
54d0577fa6ba1159c6a86410ae185c52f4afaff6 by Derek Mauro <dmauro@google.com>:
Fix Android build of elf_mem_image.cc
PiperOrigin-RevId: 407331032
GitOrigin-RevId: 9f6ef337f282272bc098330c9ccacd9d39155db4
Change-Id: I7e13f01cd804aec50f280ac25934c9ec48ef3c5f
Diffstat (limited to 'absl/debugging')
-rw-r--r-- | absl/debugging/internal/elf_mem_image.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/debugging/internal/elf_mem_image.cc b/absl/debugging/internal/elf_mem_image.cc index d6832eaf..29a28181 100644 --- a/absl/debugging/internal/elf_mem_image.cc +++ b/absl/debugging/internal/elf_mem_image.cc @@ -222,7 +222,7 @@ void ElfMemImage::Init(const void *base) { reinterpret_cast<ElfW(Dyn) *>(dynamic_program_header->p_vaddr + relocation); for (; dynamic_entry->d_tag != DT_NULL; ++dynamic_entry) { - const ElfW(Xword) value = dynamic_entry->d_un.d_val + relocation; + const auto value = dynamic_entry->d_un.d_val + relocation; switch (dynamic_entry->d_tag) { case DT_HASH: hash_ = reinterpret_cast<ElfW(Word) *>(value); |