Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Change Integrity audit logging to use OS_LOG_TYPE_ERROR.
https://bugs.webkit.org/show_bug.cgi?id=241742 Reviewed by Yusuke Suzuki. On OS(DARWIN), Integrity audit code now uses an OSLogPrintStream to achieve this logging with type OS_LOG_TYPE_ERROR. On other ports, we just route the logging to WTF::dataFile() instead. Also removed __VA_ARGS__ support when !VA_OPT_SUPPORTED. This never worked in the first place. Ports without VA_OPT_SUPPORTED will have to live with degraded logging. Added WTFReportBacktraceWithPrefixAndPrintStream and WTFPrintBacktraceWithPrefixAndPrintStream to support this new Integrity audit logging. Removed the old WTFPrintBacktraceWithPrefix because it was never used by external clients. It was only used by as an internal support function by other stack dumper functions. * Source/JavaScriptCore/tools/Integrity.cpp: (JSC::Integrity::logFile): (JSC::Integrity::logF): (JSC::Integrity::logLnF): (JSC::Integrity::verifyCell): * Source/JavaScriptCore/tools/Integrity.h: * Source/WTF/wtf/Assertions.cpp: * Source/WTF/wtf/Assertions.h: Canonical link: https://commits.webkit.org/251666@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
76 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters