ΒΆbool CheckBitcodeOutputToConsole(
llvm::raw_ostream& stream_to_check,
bool print_warning = true)
bool CheckBitcodeOutputToConsole(
llvm::raw_ostream& stream_to_check,
bool print_warning = true)
Description
Determine if the raw_ostream provided is connected to a terminal. If so, generate a warning message to errs() advising against display of bitcode and return true. Otherwise just return false. Check for output written to a console
Declared at: llvm/include/llvm/Support/SystemUtils.h:24
Parameters
- llvm::raw_ostream& stream_to_check
- bool print_warning = true