[compiler-rt] r321485 - [XRay] Add missing include to unit test
Jonas Hahnfeld via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 27 02:39:02 PST 2017
Author: hahnfeld
Date: Wed Dec 27 02:39:02 2017
New Revision: 321485
URL: http://llvm.org/viewvc/llvm-project?rev=321485&view=rev
Log:
[XRay] Add missing include to unit test
FDRLoggingTest::MultiThreadedCycling uses std::array so we need to
include the right C++ header and not rely on transitive dependencies.
Modified:
compiler-rt/trunk/lib/xray/tests/unit/fdr_logging_test.cc
Modified: compiler-rt/trunk/lib/xray/tests/unit/fdr_logging_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/tests/unit/fdr_logging_test.cc?rev=321485&r1=321484&r2=321485&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/tests/unit/fdr_logging_test.cc (original)
+++ compiler-rt/trunk/lib/xray/tests/unit/fdr_logging_test.cc Wed Dec 27 02:39:02 2017
@@ -13,6 +13,7 @@
#include "xray_fdr_logging.h"
#include "gtest/gtest.h"
+#include <array>
#include <fcntl.h>
#include <iostream>
#include <sys/mman.h>
More information about the llvm-commits
mailing list