1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/include/llvm
Abhina Sreeskantharajan eda191ef72 [SystemZ][z/OS][Windows] Add new functions that set Text/Binary mode for Stdin and Stdout based on OpenFlags
On Windows, we want to open a file in Binary mode if OF_CRLF bit is not set. On z/OS, we want to open a file in Binary mode if the OF_Text bit is not set.

This patch creates two new functions called ChangeStdinMode and ChangeStdoutMode which will take OpenFlags as an arg to determine which mode to set stdin and stdout to. This will enable patches like https://reviews.llvm.org/D100056 to not affect Windows when setting the OF_Text flag for raw_fd_streams.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D100130
2021-04-16 08:09:19 -04:00
..
ADT [mlir] Add support for walking locations similarly to Operations 2021-04-15 16:09:34 -07:00
Analysis [NewPM] Cleanup IR printing instrumentation 2021-04-15 09:50:55 -07:00
AsmParser
BinaryFormat [yaml2obj/obj2yaml/llvm-readobj] Support printing and parsing AVR-specific e_flags 2021-04-15 15:54:28 +02:00
Bitcode [IR] Add vscale_range IR function attribute 2021-03-22 12:05:06 +00:00
Bitstream [llvm] Use append_range (NFC) 2021-01-29 23:23:34 -08:00
CodeGen [clang][AArch64] Correctly align HFA arguments when passed on the stack 2021-04-15 22:58:14 +01:00
Config [CMake][AIX] Adjust plugin library extension used on AIX 2021-03-04 11:23:06 -05:00
DebugInfo Fix bug in .eh_frame/.debug_frame PC offset calculation for DW_EH_PE_pcrel 2021-04-15 15:06:20 +04:00
Demangle * Fix demangling of optional template-args for vendor extended type qualifier. 2021-03-24 10:21:32 +04:00
DWARFLinker [dsymutil] Don't emit .debug_pubnames and .debug_pubtypes 2021-04-06 19:01:45 -07:00
ExecutionEngine [docs] Fix doxygen comments wrongly attached to the llvm namespace 2021-04-07 01:20:18 +02:00
FileCheck [FileCheck] Fix numeric error propagation 2021-03-17 19:25:41 -04:00
Frontend [OpenMP] Added codegen for masked directive 2021-04-15 12:55:07 -05:00
FuzzMutate [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
InterfaceStub [docs] Fix doxygen comments wrongly attached to the llvm namespace 2021-04-07 01:20:18 +02:00
IR [NFC][NewPM] Remove some AnalysisManager invalidate methods 2021-04-15 16:51:26 -07:00
IRReader
LineEditor
Linker
LTO [LTO][Legacy] Decouple option parsing from LTOCodeGenerator 2021-03-31 16:43:26 +00:00
MC fix comment typos to cycle bots 2021-04-14 22:12:56 -04:00
MCA [MCA] Support carry-over instructions for in-order processors 2021-03-26 00:06:19 +03:00
Object [LLD] Implement /guard:[no]ehcont 2021-04-14 15:06:49 +08:00
ObjectYAML [WebAssembly] Rename WasmLimits::Initial to ::Minimum. NFC. 2021-03-24 09:10:11 +01:00
Option [clang][cli] NFC: Rename marshalling multiclass 2021-03-02 11:53:40 +01:00
Passes [NewPM] Redesign of PreserveCFG Checker 2021-04-06 12:35:49 +07:00
ProfileData Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
Remarks [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Support [SystemZ][z/OS][Windows] Add new functions that set Text/Binary mode for Stdin and Stdout based on OpenFlags 2021-04-16 08:09:19 -04:00
TableGen [TableGen] Resolve concrete but not complete field access initializers 2021-04-13 15:14:56 -07:00
Target [X86] Initialize TargetOptions::StackProtectorGuardOffset member to its default value 2021-04-07 09:04:25 +02:00
Testing/Support
TextAPI Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
ToolDrivers
Transforms Reapply "[InferAttributes] Materialize all infered attributes for declaration"" and follow on patches. 2021-04-14 16:38:07 -07:00
WindowsManifest [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
WindowsResource
XRay [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
CMakeLists.txt
InitializePasses.h Revert "[Passes] Add relative lookup table converter pass" 2021-03-30 14:13:37 +02:00
LinkAllIR.h
LinkAllPasses.h
module.extern.modulemap
module.install.modulemap
module.modulemap Revert "[build][modules] Fix ObjCARCUtil.h modularization" 2021-03-09 09:36:47 -08:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h