mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-15 07:42:58 +00:00
As written, the VerifyStackReadWithMultipleThreads unit test makes assumptions about the layout of thread_function's stack frame. As a result, the test will fail when compiled with some compilers, or built with certain optimization levels. As an extension to C++, the GNU compilers allow you to request that a variable be placed in a specific register. Using this, we can have thread_function put the thread id in place where the test can find it reliably. a=jimblandy, r=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@558 4c0a9323-5329-0410-9bdc-e9ce6186880e |
||
|---|---|---|
| .. | ||
| directory_reader_unittest.cc | ||
| directory_reader.h | ||
| line_reader_unittest.cc | ||
| line_reader.h | ||
| linux_dumper_unittest_helper.cc | ||
| linux_dumper_unittest.cc | ||
| linux_dumper.cc | ||
| linux_dumper.h | ||
| minidump_writer_unittest.cc | ||
| minidump_writer.cc | ||
| minidump_writer.h | ||