Go to file
Rui Ueyama 4063cfc745 FileOutputBuffer: Handle "-" as stdout.
I was honestly a bit surprised that we didn't do this before. This
patch is to handle "-" as the stdout so that if you pass `-o -` to
lld, for example, it writes an output to stdout instead of file `-`.

I thought that we might want to handle this at a higher level than
FileOutputBuffer, because if we land this patch, we can no longer
create a file whose name is `-` (there's a workaround though; you can
pass `./-` instead of `-`). However, because raw_fd_ostream already
handles `-` as a special file name, I think it's okay and actually
consistent to handle `-` as a special name in FileOutputBuffer.

Differential Revision: https://reviews.llvm.org/D56940

llvm-svn: 351852
2019-01-22 18:44:04 +00:00
clang [ASTImporter] Fix importing OperatorDelete from CXXConstructorDecl 2019-01-22 17:59:45 +00:00
clang-tools-extra [clangd] Followup fix of rL351818 2019-01-22 14:48:04 +00:00
compiler-rt [safestack] Return syscalls for mmap, munmap and mprotect 2019-01-22 05:23:48 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
libcxx [libcxx] Include <cstring> in tests that use strcmp 2019-01-22 17:45:00 +00:00
libcxxabi Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
libunwind Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
lld FileOutputBuffer: Handle "-" as stdout. 2019-01-22 18:44:04 +00:00
lldb [CMake] Turn LLDB_FRAMEWORK_TOOLS into STRING to allow overrides from cache files 2019-01-22 15:59:47 +00:00
llgo Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
llvm FileOutputBuffer: Handle "-" as stdout. 2019-01-22 18:44:04 +00:00
openmp NFC: fixed formatting to be consistent across the file 2019-01-21 16:11:43 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly Fix/unify top comment in lib/Analysis/PolyhedralInfo.cpp 2019-01-22 12:18:38 +00:00
pstl Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
.arcconfig Add an .arcconfig for the top of the git monorepo. 2019-01-11 16:27:14 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.