commit | 22ec7a111842a65e8f5a818f65453206d4ab5ca0 | [log] [tgz] |
---|---|---|
author | Raphael Kubo da Costa <[email protected]> | Mon May 06 18:26:14 2019 |
committer | Commit Bot <[email protected]> | Mon May 06 18:26:14 2019 |
tree | 85a8e451e455e30c6909b6c1a837793b5ea12a7e | |
parent | 88f5d64c0eb40642c571781167d466cfb0abca36 [diff] |
tcmalloc: Include <atomic> for std::atomic and std::memory_order_acquire IWYU. This fixes the libstdc++ build after commit 64d752de1 ("Use new tcmalloc on Linux builds by default"): In file included from ../../base/allocator/allocator_extension.cc:12: ../../third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h:442:15: error: no template named 'atomic' in namespace 'std' static std::atomic<MallocExtension*> current_instance_; ~~~~~^ ../../third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h:352:40: error: no member named 'memory_order_acquire' in namespace 'std' return current_instance_.load(std::memory_order_acquire); ~~~~~^ Bug: 724399, 957519 Change-Id: I76578a11e2c452b1a945edd0243f2dba34d3cfb5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1591512 Commit-Queue: Will Harris <[email protected]> Reviewed-by: Will Harris <[email protected]> Reviewed-by: Gabriel Marin <[email protected]> Auto-Submit: Raphael Kubo da Costa <[email protected]> Cr-Commit-Position: refs/heads/master@{#656878}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .