@@ -74,13 +74,13 @@ class OutputFile {
7474 // /
7575 // / If there's an open proxy from \a createProxy(), calls \a discard() to
7676 // / clean up temporaries followed by \a report_fatal_error().
77- Error keep ();
77+ LLVM_ABI Error keep ();
7878
7979 // / Discard an output, cleaning up any temporary state. Errors if clean-up
8080 // / fails.
8181 // /
8282 // / If it has already been closed, calls \a report_fatal_error().
83- Error discard ();
83+ LLVM_ABI Error discard ();
8484
8585 // / Discard the output when destroying it if it's still open, sending the
8686 // / result to \a Handler.
@@ -92,7 +92,7 @@ class OutputFile {
9292 // / producer. Errors if there's already a proxy. The proxy must be deleted
9393 // / before calling \a keep(). The proxy will crash if it's written to after
9494 // / calling \a discard().
95- Expected<std::unique_ptr<raw_pwrite_stream>> createProxy ();
95+ LLVM_ABI Expected<std::unique_ptr<raw_pwrite_stream>> createProxy ();
9696
9797 bool hasOpenProxy () const { return OpenProxy; }
9898
@@ -126,7 +126,7 @@ class OutputFile {
126126private:
127127 // / Destroy \a Impl. Reports fatal error if the file is open and there's no
128128 // / handler from \a discardOnDestroy().
129- void destroy ();
129+ LLVM_ABI void destroy ();
130130 OutputFile &moveFrom (OutputFile &O) {
131131 Path = std::move (O.Path );
132132 Impl = std::move (O.Impl );
0 commit comments