Revision f230a1cf deps/v8/src/platform-cygwin.cc
deps/v8/src/platform-cygwin.cc | ||
---|---|---|
41 | 41 |
|
42 | 42 |
#include "v8.h" |
43 | 43 |
|
44 |
#include "platform-posix.h" |
|
45 | 44 |
#include "platform.h" |
46 | 45 |
#include "simulator.h" |
47 | 46 |
#include "v8threads.h" |
... | ... | |
88 | 87 |
} |
89 | 88 |
|
90 | 89 |
|
91 |
void OS::DumpBacktrace() { |
|
92 |
// Currently unsupported. |
|
93 |
} |
|
94 |
|
|
95 |
|
|
96 | 90 |
class PosixMemoryMappedFile : public OS::MemoryMappedFile { |
97 | 91 |
public: |
98 | 92 |
PosixMemoryMappedFile(FILE* file, void* memory, int size) |
... | ... | |
205 | 199 |
} |
206 | 200 |
|
207 | 201 |
|
208 |
int OS::StackWalk(Vector<OS::StackFrame> frames) { |
|
209 |
// Not supported on Cygwin. |
|
210 |
return 0; |
|
211 |
} |
|
212 |
|
|
213 |
|
|
214 | 202 |
// The VirtualMemory implementation is taken from platform-win32.cc. |
215 | 203 |
// The mmap-based virtual memory implementation as it is used on most posix |
216 | 204 |
// platforms does not work well because Cygwin does not support MAP_FIXED. |
Also available in: Unified diff