summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc
AgeCommit message (Collapse)Author
2018-07-24[sanitizer] Transition from _zx_vmar_... to _zx_vmar_..._old callsPetr Hosek
This is a preparation for breaking changes to _zx_vmar_... calls. We will transition back to _zx_vmar_... after all the changes to these symbols are done and become part of the Fuchsia SDK. Differential Revision: https://reviews.llvm.org/D49697 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@337801 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-16[sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommonKostya Kortchinsky
Summary: Host symbolizer & stacktraces related code in their own RT: `RTSanitizerCommonSymbolizer`, which is "libcdep" by nature. Symbolizer & stacktraces specific code that used to live in common files is moved to a new file `sanitizer_symbolizer_report.cc` as is. The purpose of this is the enforce a separation between code that relies on symbolization and code that doesn't. This saves the inclusion of spurious code due to the interface functions with default visibility, and the extra data associated. The following sanitizers makefiles were modified & tested locally: - dfsan: doesn't require the new symbolizer RT - esan: requires it - hwasan: requires it - lsan: requires it - msan: requires it - safestack: doesn't require it - xray: doesn't require it - tsan: requires it - ubsan: requires it - ubsan_minimal: doesn't require it - scudo: requires it (but not for Fuchsia that has a minimal runtime) This was tested locally on Linux, Android, Fuchsia. Reviewers: alekseyshl, eugenis, dberris, kubamracek, vitalybuka, dvyukov, mcgrathr Reviewed By: alekseyshl, vitalybuka Subscribers: srhines, kubamracek, mgorny, krytarowski, delcypher, llvm-commits, #sanitizers Differential Revision: https://reviews.llvm.org/D45457 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@330131 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-20Reland "Fix syntax error introduced in r322991"Petr Hosek
This triggers compiler error when building sanitizers for Fuchsia. Differential Revision: https://reviews.llvm.org/D42328 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@323029 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-20Revert "[sanitizer] Fix syntax error introduced in r322991"Petr Hosek
This reverts commit r323027: it breaks the SanitizerLintCheck. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@323028 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-20[sanitizer] Fix syntax error introduced in r322991Petr Hosek
This triggers compiler error when building sanitizers for Fuchsia. Differential Revision: https://reviews.llvm.org/D42328 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@323027 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-19Reland "Make TracePcGuardController linker-initialized"Petr Hosek
It was always intended to be. Patch By: mcgrathr Differential Revision: https://reviews.llvm.org/D41513 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322991 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-13Revert "[SanitizerCoverage][Fuchsia] Make TracePcGuardController ↵Petr Hosek
linker-initialized" This reverts commit r322424: this broke the tsan lint check. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322428 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-13[SanitizerCoverage][Fuchsia] Make TracePcGuardController linker-initializedPetr Hosek
It was always intended to be. Patch By: mcgrathr Differential Revision: https://reviews.llvm.org/D41513 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322424 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-13[Fuchsia] Magenta -> ZirconPetr Hosek
Fuchsia's lowest API layer has been renamed from Magenta to Zircon. Patch by Roland McGrath Differential Revision: https://reviews.llvm.org/D37770 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313106 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-06[sanitizer_common][Fuchsia] Update Fuchsia sanitizer markupPetr Hosek
Include URLs to the markup format specification in code comments. Use sanitizer markup in the sancov message about a dump just produced. Patch by Roland McGrath Differential Revision: https://reviews.llvm.org/D37273 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@312596 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-10[sanitizer_common] Update sanitizers w.r.t. the new comparisons ↵Alexander Potapenko
instrumentation API Added declarations of __sanitizer_cov_trace_const_cmp[1248] callbacks. For more details, please see https://reviews.llvm.org/D36465. Patch by Victor Chibotaru. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@310596 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-02[sanitizer_common] Fuchsia-specific implementation of SanitizerCoverageVitaly Buka
Submitted on behalf of Roland McGrath. Reviewers: kcc, eugenis, alekseyshl, vitalybuka Reviewed By: kcc Subscribers: filcab, vitalybuka, phosek, llvm-commits, kubamracek, mgorny Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D35866 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@309797 91177308-0d34-0410-b5e6-96231b3b80d8