| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
i#5520 memtrace encodings: Add AArch32 support (#5672) Adds support for Thumb versus Arm modes in AArch32 with respect to drmemtrace stored encodings by setting the LSB when storing in the tracer and raw2trace, and by properly setting the base mode to Arm when decoding. Augments decode_from_copy() to switch locally to Thumb if either the read or original PC has LSB=1 as that better fits most use cases (including reading from a drmemtrace encoding buffer). Adds AArch32 support to the burst_gencode test. Fixes 3 outstanding AArch32 issues: + Removes a quote in a comment in third_party/libgcc/arm/lib1funcs.S code not handled by old toolchains. + Removes an ASSERT_NOT_TESTED path now hit. + Fixes an AArch32 tracer bug where a 2nd temp register is needed for a 2nd conditional skip. Tested by running the drcacheoff.gencode test on an AArch32 machine which now passes. Issue: #5520 | 3 年前 | |
i#1566 software divide on ARM: use libgcc divide emulation code Adds gcc runtime code under third_party/libgcc to supply software divide emulation for ARM, where we can't rely on hardware integer divide support. The GPL "GCC Runtime Library Exception" allows us to link these files into our BSD library. Imports 4 assembly files and 1 extracted C routine from libgcc. The assembly files are built in separate passes due to label conflicts. Fixes #1566 Review-URL: https://codereview.appspot.com/186420043 | 11 年前 | |
i#1566 software divide on ARM: use libgcc divide emulation code Adds gcc runtime code under third_party/libgcc to supply software divide emulation for ARM, where we can't rely on hardware integer divide support. The GPL "GCC Runtime Library Exception" allows us to link these files into our BSD library. Imports 4 assembly files and 1 extracted C routine from libgcc. The assembly files are built in separate passes due to label conflicts. Fixes #1566 Review-URL: https://codereview.appspot.com/186420043 | 11 年前 | |
i#5520 memtrace encodings: Add AArch32 support (#5672) Adds support for Thumb versus Arm modes in AArch32 with respect to drmemtrace stored encodings by setting the LSB when storing in the tracer and raw2trace, and by properly setting the base mode to Arm when decoding. Augments decode_from_copy() to switch locally to Thumb if either the read or original PC has LSB=1 as that better fits most use cases (including reading from a drmemtrace encoding buffer). Adds AArch32 support to the burst_gencode test. Fixes 3 outstanding AArch32 issues: + Removes a quote in a comment in third_party/libgcc/arm/lib1funcs.S code not handled by old toolchains. + Removes an ASSERT_NOT_TESTED path now hit. + Fixes an AArch32 tracer bug where a 2nd temp register is needed for a 2nd conditional skip. Tested by running the drcacheoff.gencode test on an AArch32 machine which now passes. Issue: #5520 | 3 年前 | |
i#2601: fix thread exit race on attach (#2605) To handle a thread exiting on attach, adds a timeout to wait_event() and its corresponding implementations: os_wait_event() on Windows and ksynch_wait() on UNIX. Uses the timeout to check whether a thread exited, and if so, to move on. Augments the test from #2600 to test this race. Abandon the api.detach_spawn test on Windows:i#2611 covers fixing the tricky problems on Windows. Leaves in place some fixes toward #2611: + Fixes a race where we put interception_code hooks in place before marking them +x + Increases MAX_THREADS_WAITING_FOR_DR_INIT Fixes clang 32-bit missing __moddi3 by adding it to third_party/libgcc and linking that into x86 and arm. To enable adding race checks, moves doing_detach inside the synchall and adds started_detach for the few checks that need pre-synch querying. Removes the dynamo_thread_init_during_process_exit flag that was added in 45dd931 for #2075, as the UNIX uninit_thread_count solution from #2600 solves that problem on its own. Fixes #2601 | 8 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 11 年前 | ||
| 11 年前 | ||
| 3 年前 | ||
| 8 年前 |