mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Replace PrintStackTrace(FILE*) with PrintStackTrace(raw_ostream&)
This will be followed by a change on the clang side to update the only user of this function with the new version. Differential Revision: http://reviews.llvm.org/D8074 Reviewed By: Reid Kleckner git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#include <cstdio>
|
||||
|
||||
namespace llvm {
|
||||
class raw_ostream;
|
||||
|
||||
namespace sys {
|
||||
|
||||
/// This function runs all the registered interrupt handlers, including the
|
||||
@@ -42,8 +44,8 @@ namespace sys {
|
||||
/// Disable all system dialog boxes that appear when the process crashes.
|
||||
void DisableSystemDialogsOnCrash();
|
||||
|
||||
/// \brief Print the stack trace using the given \c FILE object.
|
||||
void PrintStackTrace(FILE *);
|
||||
/// \brief Print the stack trace using the given \c raw_ostream object.
|
||||
void PrintStackTrace(raw_ostream &OS);
|
||||
|
||||
/// AddSignalHandler - Add a function to be called when an abort/kill signal
|
||||
/// is delivered to the process. The handler can have a cookie passed to it
|
||||
|
Reference in New Issue
Block a user