LLVM: include/llvm/Support/ToolOutputFile.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_SUPPORT_TOOLOUTPUTFILE_H

14#define LLVM_SUPPORT_TOOLOUTPUTFILE_H

15

17#include

18

19namespace llvm {

20

22public:

23

25

26

28

32};

33

34

35

36

37

38

40

41

42

43

45

46

47

48 std::optional<raw_fd_ostream> OSHolder;

49

50

52

53public:

54

55

58

60

61

63

64

66

67

68

69 void keep() { Installer.Keep = true; }

70

72};

73

74}

75

76#endif

std::string Filename

The name of the file.

bool Keep

The flag which indicates whether we should not delete the file.

StringRef - Represent a constant reference to a string, i.e.

A raw_ostream that writes to a file descriptor.

This is an optimization pass for GlobalISel generic memory operations.