Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid use of undefined ABSL_HAVE_ELF_MEM_IMAGE #320

Merged
merged 1 commit into from
Jun 5, 2019
Merged

avoid use of undefined ABSL_HAVE_ELF_MEM_IMAGE #320

merged 1 commit into from
Jun 5, 2019

Conversation

christoph-cullmann
Copy link
Contributor

this avoids e.g. on macOS:

In file included from abseil-cpp/absl/debugging/internal/elf_mem_image.cc:18:
abseil-cpp/absl/debugging/internal/elf_mem_image.h:37:5: error: 'ABSL_HAVE_ELF_MEM_IMAGE' is not defined, evaluates to 0 [-Werror,-Wundef]
^
1 error generated.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@christoph-cullmann
Copy link
Contributor Author

I signed it!

@vslashg
Copy link
Member

vslashg commented May 29, 2019

It doesn't appear from our end that you signed the CLA. Could you take another look at this?

@christoph-cullmann
Copy link
Contributor Author

I will adapt the request and I assume my e-mail address doesn't match the CLA, I will fix that, too.

this avoids e.g. on macOS:

In file included from abseil-cpp/absl/debugging/internal/elf_mem_image.cc:18:
abseil-cpp/absl/debugging/internal/elf_mem_image.h:37:5: error: 'ABSL_HAVE_ELF_MEM_IMAGE' is not defined, evaluates to 0 [-Werror,-Wundef]
    ^
1 error generated.
@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@christoph-cullmann
Copy link
Contributor Author

CLA should now be ok and matching my mail address.
Only checking for "is defined" now.

Copy link
Contributor

@zhangxy988 zhangxy988 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wait for our release manager to merge and sync with our internal code base.

@christoph-cullmann
Copy link
Contributor Author

Sure, thanks for taking care.
I assume I will have a few other warning fixes in the future as we use rather strict compiler flags for the code using the abseil headers (together with MSVC).

@zhangxy988
Copy link
Contributor

Sorry for the delay. I am the release manager this week and I will test this change against our internal code base asap.

@zhangxy988 zhangxy988 merged commit bc9101f into abseil:master Jun 5, 2019
absl-federation-github pushed a commit that referenced this pull request Jun 5, 2019
--
39b55fafbe4a83f9f0524544a12d4ed02fdec751 by Xiaoyi Zhang <zhangxy@google.com>:

Avoid -Wundef warning of macro `ABSL_HAVE_ELF_MEM_IMAGE`.
This is github pull request #320.

PiperOrigin-RevId: 251646785

--
2fbf0de42d6723088211cb23444f16ecadcc7d67 by Abseil Team <absl-team@google.com>:

Add missing dependency on base:dynamic_annotations.

The target absl/debugging:symbolize includes dynamic_annotations from absl/debugging/symbolize_elf.inc.

PiperOrigin-RevId: 251430877

--
2537de6f01458938684f4818606ba5ce3f1c3cdf by CJ Johnson <johnsoncj@google.com>:

In InlinedVector: Combines storage_.SetAllocatedData(...) and storage_.SetAllocatedCapacity(...) into a single two-arg function also called storage_.SetAllocatedData(...) such that data and capacity must always be set together

PiperOrigin-RevId: 251331883

--
c05252c01710ac28d2c3defd09acfc55ecf2b8f1 by CJ Johnson <johnsoncj@google.com>:

So that InlinedVector constructors do no leak allocations when throwing exceptions, this CL moves the call to `clear()` from `~InlinedVector()` to `~Storage()`

In addition, noexcept specifiers have been added where appropriate (Copy construction and default construction on std::allocator are noexcept. See CppRef: https://en.cppreference.com/w/cpp/memory/allocator/allocator)

PiperOrigin-RevId: 251256272

--
34ce8367a8e29a0dea950c0e2967dd7cfdbd5d33 by CJ Johnson <johnsoncj@google.com>:

Cleans up InlinedVector constructors by inlining Impl functions with only one caller and dispatching where appropriate

PiperOrigin-RevId: 250919357
GitOrigin-RevId: 39b55fafbe4a83f9f0524544a12d4ed02fdec751
Change-Id: I21e8866582e6e02afb2c54f7347d624053e9ce45
absl-federation-github pushed a commit that referenced this pull request Aug 8, 2019
  - 9ee91d3 Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - 8efba58 Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - b49b8d1 Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - 67222ff Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - c5c4db4 Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - 14550be Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 52e88ee Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 36d37ab Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - ad1485c Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - f3840bc Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 278b260 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - c6c3c1b Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 44efe96 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 3c98fcc Merge pull request #340 from jtsylve/macos_cxx17_fix by Matt Calabrese <38107210+mattcalabrese-google@users.noreply.github.com>
  - 74d9175 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - e6b0502 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - c964fcf Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 72e09a5 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - d65e19d Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 5162fc8 Merge pull request #336 from shields/patch-2 by Shaindel Schwartz <31392632+shaindelschwartz@users.noreply.github.com>
  - 0389f7b Merge pull request #335 from shields/patch-1 by Shaindel Schwartz <31392632+shaindelschwartz@users.noreply.github.com>
  - e9324d9 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 43ef214 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - a13d3df Merge pull request #323 from gosnik/master by Gennadiy Rozental <rogeeff@google.com>
  - 310a118 Merge pull request #324 from RasPat1/patch-1 by Gennadiy Rozental <rogeeff@google.com>
  - 8f11724 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - b1dd425 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 361cb8a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 0238ab0 Merge pull request #321 from christoph-cullmann/c4245_fix... by Xiaoyi Zhang <zhangxy988@gmail.com>
  - 61c9bf3 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - bc9101f Merge pull request #320 from christoph-cullmann/master by Xiaoyi Zhang <zhangxy988@gmail.com>
  - 2f76a9b Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 4adaf54 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 27c30ec Avoid undefined behavior when nullptr is passed to memcpy... by Roman Gershman <romange@gmail.com>
  - ce65f5a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - a18fc74 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 8a394b1 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - daf381e Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - fa00c32 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 436ba6c Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 0cbdc77 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 27c2f6e Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - aa468ad Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - cd86d0d Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 33841c5 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - ca3f875 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - d902eb8 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - a02f62f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 0b545b4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - dbae876 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 044da8a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 6cc6ac4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 666fc12 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 93dfcf7 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 2c8421e Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 5b65c4a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - eab2078 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 253eb74 [CMake] Set correct flags for clang-cl (#278) by Loo Rong Jie <loorongjie@gmail.com>
  - e75672f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - bf29470 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 6fd8271 Merge pull request #280 from chiumichael/master by Derek Mauro <761129+derekmauro@users.noreply.github.com>
  - 7c7754f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 256be56 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 88a152a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - c1cecb2 Implement Span::first and Span::last from C++20 (#274) by Girts <girtsf@users.noreply.github.com>
  - 38b7043 Changed HTTP URLs to HTTPS where possible (#270) by nik7273 <nik8470@gmail.com>
  - febc5ee Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 9fdf5e5 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 419f318 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - b312c3c Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 308ce31 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 93d155b Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 426eaa4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 2901ec3 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - d78310f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - a4cb1c8 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 540e253 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 89ea0c5 Merge pull request #255 from uilianries/hotfix/conan by ahedberg <ahedberg@google.com>
  - 5e0dcf7 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 0dffca4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 6b4201f Fix GCC8 warnings by Boris Staletic <boris.staletic@gmail.com>
  - 0b1e6d4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - efccc50 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 5e6a781 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 5eea0f7 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 66f9bec Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 018b4db Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 9449ae9 Merge pull request #243 from ThomsonTan/FixIntrinsic by Alex Strelnikov <strel@google.com>
  - b16aeb6 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 7ffbe09 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 01b471d Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 7bd8f36 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 968a34f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 3e2e9b5 Merge pull request #231 from uilianries/feature/conan by Mark Barolak <mbxx@users.noreply.github.com>
  - 111ca70 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 389ec3f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 8fbcdb9 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 455dc17 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - f197d7c Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 284378a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 9ee91d3
Change-Id: Ia06e548bc106cc9d136f6c65714be6645317aced
WangTingMan pushed a commit to WangTingMan/abseil-cpp that referenced this pull request Oct 25, 2023
  - 9ee91d3 Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - 8efba58 Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - b49b8d1 Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - 67222ff Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - c5c4db4 Export of internal Abseil changes by Abseil Team <absl-team@google.com>
  - 14550be Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 52e88ee Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 36d37ab Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - ad1485c Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - f3840bc Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 278b260 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - c6c3c1b Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 44efe96 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 3c98fcc Merge pull request abseil#340 from jtsylve/macos_cxx17_fix by Matt Calabrese <38107210+mattcalabrese-google@users.noreply.github.com>
  - 74d9175 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - e6b0502 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - c964fcf Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 72e09a5 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - d65e19d Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 5162fc8 Merge pull request abseil#336 from shields/patch-2 by Shaindel Schwartz <31392632+shaindelschwartz@users.noreply.github.com>
  - 0389f7b Merge pull request abseil#335 from shields/patch-1 by Shaindel Schwartz <31392632+shaindelschwartz@users.noreply.github.com>
  - e9324d9 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 43ef214 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - a13d3df Merge pull request abseil#323 from gosnik/master by Gennadiy Rozental <rogeeff@google.com>
  - 310a118 Merge pull request abseil#324 from RasPat1/patch-1 by Gennadiy Rozental <rogeeff@google.com>
  - 8f11724 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - b1dd425 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 361cb8a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 0238ab0 Merge pull request abseil#321 from christoph-cullmann/c4245_fix... by Xiaoyi Zhang <zhangxy988@gmail.com>
  - 61c9bf3 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - bc9101f Merge pull request abseil#320 from christoph-cullmann/master by Xiaoyi Zhang <zhangxy988@gmail.com>
  - 2f76a9b Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 4adaf54 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 27c30ec Avoid undefined behavior when nullptr is passed to memcpy... by Roman Gershman <romange@gmail.com>
  - ce65f5a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - a18fc74 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 8a394b1 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - daf381e Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - fa00c32 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 436ba6c Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 0cbdc77 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 27c2f6e Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - aa468ad Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - cd86d0d Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 33841c5 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - ca3f875 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - d902eb8 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - a02f62f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 0b545b4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - dbae876 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 044da8a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 6cc6ac4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 666fc12 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 93dfcf7 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 2c8421e Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 5b65c4a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - eab2078 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 253eb74 [CMake] Set correct flags for clang-cl (abseil#278) by Loo Rong Jie <loorongjie@gmail.com>
  - e75672f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - bf29470 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 6fd8271 Merge pull request abseil#280 from chiumichael/master by Derek Mauro <761129+derekmauro@users.noreply.github.com>
  - 7c7754f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 256be56 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 88a152a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - c1cecb2 Implement Span::first and Span::last from C++20 (abseil#274) by Girts <girtsf@users.noreply.github.com>
  - 38b7043 Changed HTTP URLs to HTTPS where possible (abseil#270) by nik7273 <nik8470@gmail.com>
  - febc5ee Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 9fdf5e5 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 419f318 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - b312c3c Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 308ce31 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 93d155b Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 426eaa4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 2901ec3 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - d78310f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - a4cb1c8 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 540e253 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 89ea0c5 Merge pull request abseil#255 from uilianries/hotfix/conan by ahedberg <ahedberg@google.com>
  - 5e0dcf7 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 0dffca4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 6b4201f Fix GCC8 warnings by Boris Staletic <boris.staletic@gmail.com>
  - 0b1e6d4 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - efccc50 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 5e6a781 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 5eea0f7 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 66f9bec Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 018b4db Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 9449ae9 Merge pull request abseil#243 from ThomsonTan/FixIntrinsic by Alex Strelnikov <strel@google.com>
  - b16aeb6 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 7ffbe09 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 01b471d Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 7bd8f36 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 968a34f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 3e2e9b5 Merge pull request abseil#231 from uilianries/feature/conan by Mark Barolak <mbxx@users.noreply.github.com>
  - 111ca70 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 389ec3f Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 8fbcdb9 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 455dc17 Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - f197d7c Export of internal Abseil changes. by Abseil Team <absl-team@google.com>
  - 284378a Export of internal Abseil changes. by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 9ee91d3
Change-Id: Ia06e548bc106cc9d136f6c65714be6645317aced
4s5t2os41n added a commit to 4s5t2os41n/abseil-cpp that referenced this pull request Jul 4, 2024
--
39b55fafbe4a83f9f0524544a12d4ed02fdec751 by Xiaoyi Zhang <zhangxy@google.com>:

Avoid -Wundef warning of macro `ABSL_HAVE_ELF_MEM_IMAGE`.
This is github pull request abseil/abseil-cpp#320.

PiperOrigin-RevId: 251646785

--
2fbf0de42d6723088211cb23444f16ecadcc7d67 by Abseil Team <absl-team@google.com>:

Add missing dependency on base:dynamic_annotations.

The target absl/debugging:symbolize includes dynamic_annotations from absl/debugging/symbolize_elf.inc.

PiperOrigin-RevId: 251430877

--
2537de6f01458938684f4818606ba5ce3f1c3cdf by CJ Johnson <johnsoncj@google.com>:

In InlinedVector: Combines storage_.SetAllocatedData(...) and storage_.SetAllocatedCapacity(...) into a single two-arg function also called storage_.SetAllocatedData(...) such that data and capacity must always be set together

PiperOrigin-RevId: 251331883

--
c05252c01710ac28d2c3defd09acfc55ecf2b8f1 by CJ Johnson <johnsoncj@google.com>:

So that InlinedVector constructors do no leak allocations when throwing exceptions, this CL moves the call to `clear()` from `~InlinedVector()` to `~Storage()`

In addition, noexcept specifiers have been added where appropriate (Copy construction and default construction on std::allocator are noexcept. See CppRef: https://en.cppreference.com/w/cpp/memory/allocator/allocator)

PiperOrigin-RevId: 251256272

--
34ce8367a8e29a0dea950c0e2967dd7cfdbd5d33 by CJ Johnson <johnsoncj@google.com>:

Cleans up InlinedVector constructors by inlining Impl functions with only one caller and dispatching where appropriate

PiperOrigin-RevId: 250919357
GitOrigin-RevId: 39b55fafbe4a83f9f0524544a12d4ed02fdec751
Change-Id: I21e8866582e6e02afb2c54f7347d624053e9ce45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants