Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Side by Side Diff: src/IceBrowserCompileServer.h

Issue 1202253002: Includes module header first. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes All Subzero includes to match LLVM style guide. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceBrowserCompileServer.h - Browser server ---*- C++ -*-===// 1 //===- subzero/src/IceBrowserCompileServer.h - Browser server ---*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file declares the browser-specific compile server. 10 // This file declares the browser-specific compile server.
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 13
14 #ifndef SUBZERO_SRC_ICEBROWSERCOMPILESERVER_H 14 #ifndef SUBZERO_SRC_ICEBROWSERCOMPILESERVER_H
15 #define SUBZERO_SRC_ICEBROWSERCOMPILESERVER_H 15 #define SUBZERO_SRC_ICEBROWSERCOMPILESERVER_H
16 16
17 #include <atomic>
18 #include <thread>
19
20 #include "IceClFlags.h" 17 #include "IceClFlags.h"
21 #include "IceClFlagsExtra.h" 18 #include "IceClFlagsExtra.h"
22 #include "IceCompileServer.h" 19 #include "IceCompileServer.h"
23 #include "IceDefs.h" 20 #include "IceDefs.h"
24 #include "IceELFStreamer.h" 21 #include "IceELFStreamer.h"
22 #include <atomic>
Jim Stichnoth 2015/06/24 21:35:33 Separate each section with a blank line?
John 2015/06/25 17:13:12 Done.
23 #include <thread>
25 24
26 namespace llvm { 25 namespace llvm {
27 class QueueStreamer; 26 class QueueStreamer;
28 class raw_fd_ostream; 27 class raw_fd_ostream;
29 } 28 } // end of namespace llvm
30 29
31 namespace Ice { 30 namespace Ice {
32 31
33 // The browser variant of the compile server. 32 // The browser variant of the compile server.
34 // Compared to the commandline version, this version gets compile 33 // Compared to the commandline version, this version gets compile
35 // requests over IPC. Each compile request will have a slimmed down 34 // requests over IPC. Each compile request will have a slimmed down
36 // version of argc, argv while other flags are set to defaults that 35 // version of argc, argv while other flags are set to defaults that
37 // make sense in the browser case. The output file is specified via 36 // make sense in the browser case. The output file is specified via
38 // a posix FD, and input bytes are pushed to the server. 37 // a posix FD, and input bytes are pushed to the server.
39 class BrowserCompileServer : public CompileServer { 38 class BrowserCompileServer : public CompileServer {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 std::unique_ptr<ELFStreamer> ELFStream; 106 std::unique_ptr<ELFStreamer> ELFStream;
108 ClFlags Flags; 107 ClFlags Flags;
109 ClFlagsExtra ExtraFlags; 108 ClFlagsExtra ExtraFlags;
110 std::thread CompileThread; 109 std::thread CompileThread;
111 std::atomic<bool> HadError; 110 std::atomic<bool> HadError;
112 }; 111 };
113 112
114 } // end of namespace Ice 113 } // end of namespace Ice
115 114
116 #endif // SUBZERO_SRC_ICEBROWSERCOMPILESERVER_H 115 #endif // SUBZERO_SRC_ICEBROWSERCOMPILESERVER_H
OLDNEW
« no previous file with comments | « src/IceAssemblerX8632.cpp ('k') | src/IceBrowserCompileServer.cpp » ('j') | src/IceRNG.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698