| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/globals.h" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_OS_LINUX) | 6 #if defined(TARGET_OS_LINUX) |
| 7 | 7 |
| 8 #include "vm/os.h" | 8 #include "vm/os.h" |
| 9 | 9 |
| 10 #include <errno.h> // NOLINT | 10 #include <errno.h> // NOLINT |
| 11 #include <limits.h> // NOLINT | 11 #include <limits.h> // NOLINT |
| 12 #include <malloc.h> // NOLINT | 12 #include <malloc.h> // NOLINT |
| 13 #include <time.h> // NOLINT | 13 #include <time.h> // NOLINT |
| 14 #include <sys/resource.h> // NOLINT | 14 #include <sys/resource.h> // NOLINT |
| 15 #include <sys/time.h> // NOLINT | 15 #include <sys/time.h> // NOLINT |
| 16 #include <sys/types.h> // NOLINT | 16 #include <sys/types.h> // NOLINT |
| 17 #include <sys/syscall.h> // NOLINT | 17 #include <sys/syscall.h> // NOLINT |
| 18 #include <sys/stat.h> // NOLINT | 18 #include <sys/stat.h> // NOLINT |
| 19 #include <fcntl.h> // NOLINT | 19 #include <fcntl.h> // NOLINT |
| 20 #include <unistd.h> // NOLINT | 20 #include <unistd.h> // NOLINT |
| 21 | 21 |
| 22 #include "platform/utils.h" | 22 #include "platform/utils.h" |
| 23 #include "vm/code_observers.h" | 23 #include "vm/code_observers.h" |
| 24 #include "vm/dart.h" | 24 #include "vm/dart.h" |
| 25 #include "vm/debuginfo.h" | 25 #include "vm/debuginfo.h" |
| 26 #include "vm/isolate.h" | 26 #include "vm/isolate.h" |
| 27 #include "vm/lockers.h" |
| 27 #include "vm/thread.h" | 28 #include "vm/thread.h" |
| 28 #include "vm/vtune.h" | 29 #include "vm/vtune.h" |
| 29 #include "vm/zone.h" | 30 #include "vm/zone.h" |
| 30 | 31 |
| 31 | 32 |
| 32 namespace dart { | 33 namespace dart { |
| 33 | 34 |
| 34 // Linux CodeObservers. | 35 // Linux CodeObservers. |
| 35 | 36 |
| 36 DEFINE_FLAG(bool, generate_gdb_symbols, false, | 37 DEFINE_FLAG(bool, generate_gdb_symbols, false, |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 } | 615 } |
| 615 | 616 |
| 616 | 617 |
| 617 void OS::Exit(int code) { | 618 void OS::Exit(int code) { |
| 618 exit(code); | 619 exit(code); |
| 619 } | 620 } |
| 620 | 621 |
| 621 } // namespace dart | 622 } // namespace dart |
| 622 | 623 |
| 623 #endif // defined(TARGET_OS_LINUX) | 624 #endif // defined(TARGET_OS_LINUX) |
| OLD | NEW |