LLVM API Documentation
#include "llvm/Support/SlowOperationInformer.h"#include "llvm/Config/config.h"#include <iostream>#include <sstream>#include <signal.h>#include <unistd.h>#include <cassert>Include dependency graph for SlowOperationInformer.cpp:

Go to the source code of this file.
Functions | |
| static RETSIGTYPE | SigIntHandler (int Sig) |
| static RETSIGTYPE | SigAlarmHandler (int Sig) |
Variables | |
| static volatile bool | OperationCancelled |
| static volatile bool | ShouldShowStatus |
| static bool | NestedSOI = false |
| static void(* | OldSigIntHandler )(int) |
|
|
Definition at line 40 of file SlowOperationInformer.cpp. References ShouldShowStatus. Referenced by llvm::SlowOperationInformer::SlowOperationInformer(). |
|
|
Definition at line 35 of file SlowOperationInformer.cpp. References OperationCancelled. Referenced by llvm::SlowOperationInformer::SlowOperationInformer(). |
|
|
NestedSOI - Sanity check. SlowOperationInformers cannot be nested or run in parallel. This ensures that they never do. Definition at line 33 of file SlowOperationInformer.cpp. Referenced by llvm::SlowOperationInformer::SlowOperationInformer(), and llvm::SlowOperationInformer::~SlowOperationInformer(). |
|
|
Definition at line 44 of file SlowOperationInformer.cpp. Referenced by llvm::SlowOperationInformer::SlowOperationInformer(), and llvm::SlowOperationInformer::~SlowOperationInformer(). |
|
|
OperationCancelled - This flag is set by the SIGINT signal handler if the user presses CTRL-C. Definition at line 25 of file SlowOperationInformer.cpp. Referenced by llvm::SlowOperationInformer::progress(), SigIntHandler(), and llvm::SlowOperationInformer::SlowOperationInformer(). |
|
|
ShouldShowStatus - This flag gets set if the operation takes a long time. Definition at line 29 of file SlowOperationInformer.cpp. Referenced by llvm::SlowOperationInformer::progress(), SigAlarmHandler(), and llvm::SlowOperationInformer::SlowOperationInformer(). |