[lld] r326360 - Attempt to build breakage caused by r326339.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 12:11:34 PST 2018


Author: ruiu
Date: Wed Feb 28 12:11:33 2018
New Revision: 326360

URL: http://llvm.org/viewvc/llvm-project?rev=326360&view=rev
Log:
Attempt to build breakage caused by r326339.

clang-format automatically sorted the #include lines, but I believe
Windows.h needs to be included before Dbghelp.h.

Modified:
    lld/trunk/Common/Strings.cpp

Modified: lld/trunk/Common/Strings.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/Common/Strings.cpp?rev=326360&r1=326359&r2=326360&view=diff
==============================================================================
--- lld/trunk/Common/Strings.cpp (original)
+++ lld/trunk/Common/Strings.cpp Wed Feb 28 12:11:33 2018
@@ -17,8 +17,8 @@
 #include <vector>
 
 #if defined(_MSC_VER)
-#include <DbgHelp.h>
 #include <Windows.h>
+#include <DbgHelp.h>
 #pragma comment(lib, "dbghelp.lib")
 #endif
 




More information about the llvm-commits mailing list