Commit e93fee34 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

diagnostics: Include <atomic> for std::atomic

IWYU. This also fixes the libstdc++ build after commit 6056c0dc ("Make
adding crash keys thread safe"):

../../v8/src/diagnostics/crash-key.cc:36:15: error: no template named 'atomic' in namespace 'std'
  static std::atomic<int> last{-1};
         ~~~~~^

Bug: chromium:957519
Change-Id: Ib1f465dc5e4f0b4a212486a9a3bebe54bb6654b3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1681129
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62446}
parent 50822c2c
......@@ -5,8 +5,9 @@
#include "src/diagnostics/crash-key.h"
#include "components/crash/core/common/crash_key.h"
#include <string>
#include <atomic>
#include <sstream>
#include <string>
namespace v8 {
namespace internal {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment