| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[lldb] Refactor InstrumentationRuntimeAsan and add a new plugin (#69388) [lldb] Refactor InstrumentationRuntimeAsan and add a new plugin InstrumentationRuntimeLibsanitizers. This commit refactors InstrumentationRuntimeASan by pulling out reusable code into a separate ReportRetriever class. The purpose of the refactoring is to allow reuse of the ReportRetriever class in another plugin. The commit also adds InstrumentationRuntimeASanLibsanitizers, a new runtime plugin for ASan. The plugin provides the same functionality as InstrumentationRuntimeASan, but provides a different set of symbols/library names to search for while activating the plugin. rdar://112491689 | 2 年前 | |
[lldb] Use Address to setup breakpoint (#94794) Use Address (instead of addr_t) to setup breakpoint in ReportRetriever::SetupBreakpoint. This is cleaner and the breakpoint should now survive re-running of the binary. rdar://124399066 | 1 年前 | |
[lldb] Fix source line annotations for libsanitizers traces (#154247) When providing allocation and deallocation traces, the ASan compiler-rt runtime already provides call addresses ( TracePCType::Calls). On Darwin, system sanitizers (libsanitizers) provides return address. It also discards a few non-user frames at the top of the stack, because these internal libmalloc/libsanitizers stack frames do not provide any value when diagnosing memory errors. Introduce and add handling for TracePCType::ReturnsNoZerothFrame to cover this case and enable libsanitizers traces line-level testing. rdar://157596927 --- Commit 1 is a mechanical refactoring to introduce and adopt TracePCType enum to replace pcs_are_call_addresses bool. It preserve the current behavior: pcs_are_call_addresses: false -> TracePCType::Returns (default) true -> TracePCType::Calls Best reviewed commit by commit. | 11 个月前 | |
[lldb] Remove Debugger::Get{Output,Error}Stream (NFC) (#126821) Remove Debugger::GetOutputStream and Debugger::GetErrorStream in preparation for replacing both with a new variant that needs to be locked and hence can't be handed out like we do right now. The patch replaces most uses with GetAsyncOutputStream and GetAsyncErrorStream respectively. There methods return new StreamSP objects that automatically get flushed on destruction. See #126630 for more details. | 1 年前 | |
[lldb] Fix source line annotations for libsanitizers traces (#154247) When providing allocation and deallocation traces, the ASan compiler-rt runtime already provides call addresses ( TracePCType::Calls). On Darwin, system sanitizers (libsanitizers) provides return address. It also discards a few non-user frames at the top of the stack, because these internal libmalloc/libsanitizers stack frames do not provide any value when diagnosing memory errors. Introduce and add handling for TracePCType::ReturnsNoZerothFrame to cover this case and enable libsanitizers traces line-level testing. rdar://157596927 --- Commit 1 is a mechanical refactoring to introduce and adopt TracePCType enum to replace pcs_are_call_addresses bool. It preserve the current behavior: pcs_are_call_addresses: false -> TracePCType::Returns (default) true -> TracePCType::Calls Best reviewed commit by commit. | 11 个月前 | |
[LLDB] Add log channel for InstrumentationRuntime plugins (#168508) This patch adds LLDBLog::InstrumentationRuntime as a log channel to provide an appropriate channel for instrumentation runtime plugins as previously one did not exist. A small use of the channel is added to illustrate its use. The logging added is not intended to be comprehensive. This is primarily motivated by an -fbounds-safety instrumentation plugin (https://github.com/swiftlang/llvm-project/pull/11835). rdar://164920875 | 8 个月前 | |
| 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 8 个月前 | ||
| 1 年前 |