[compiler-rt] r298039 - [XRay][compiler-rt] Add missing include to <string>

Dean Michael Berris via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 20:38:12 PDT 2017


Author: dberris
Date: Thu Mar 16 22:38:12 2017
New Revision: 298039

URL: http://llvm.org/viewvc/llvm-project?rev=298039&view=rev
Log:
[XRay][compiler-rt] Add missing include to <string>

Fixes a build break when using clang-3.9.1 (reported upstream,
post-commit review of D30850).

Modified:
    compiler-rt/trunk/lib/xray/xray_fdr_logging_impl.h

Modified: compiler-rt/trunk/lib/xray/xray_fdr_logging_impl.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/xray_fdr_logging_impl.h?rev=298039&r1=298038&r2=298039&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/xray_fdr_logging_impl.h (original)
+++ compiler-rt/trunk/lib/xray/xray_fdr_logging_impl.h Thu Mar 16 22:38:12 2017
@@ -21,6 +21,7 @@
 #include <cstdint>
 #include <cstring>
 #include <memory>
+#include <string>
 #include <sys/syscall.h>
 #include <unistd.h>
 




More information about the llvm-commits mailing list