Go to file
Pavel Labath 72ef113d40 [API] Have SBCommandReturnObject::GetOutput/Error return "" instead of nullptr
Summary:
It seems this was an unintended side-effect of D26698. AFAICT, these
functions did return an empty string before that patch, and the patch
contained code which attempted to ensure that, but those efforts were
negated by ConstString::AsCString, which by default returns a nullptr
even for empty strings.

This patch:
- fixes the GetOutput/Error methods to really return empty strings
- adds and explicit test for that
- removes a workaround in lldbtest.py, which was masking this problem
  from our other tests

Reviewers: jingham, clayborg

Subscribers: zturner, lldb-commits

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

llvm-svn: 368806
2019-08-14 08:11:20 +00:00
clang Removed dead code from clang/tools/libclang/CXIndexDataConsumer.{cpp,h} 2019-08-14 07:32:51 +00:00
clang-tools-extra [clang-tidy] Update `TransformerClangTidyCheck` to use new `buildMatchers` functionality. 2019-08-13 14:48:13 +00:00
compiler-rt [TSan] Fix test failing on Linux 2019-08-13 00:37:48 +00:00
debuginfo-tests Make nrvo-string test more robust. 2019-06-27 20:38:37 +00:00
libclc Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC" 2019-08-05 17:23:23 +00:00
libcxx [libc++] Mark two <chrono> tests as unsupported on AppleClang 11 2019-08-13 21:34:49 +00:00
libcxxabi [libcxxabi] Define _LIBCXXABI_GUARD_ABI_ARM on WebAssembly 2019-08-14 01:30:48 +00:00
libunwind [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
lld [ELF] Initialize 2 fields of Symbol in SymbolTable::insert 2019-08-14 01:52:47 +00:00
lldb [API] Have SBCommandReturnObject::GetOutput/Error return "" instead of nullptr 2019-08-14 08:11:20 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [LV] Fold-tail flag 2019-08-14 05:22:20 +00:00
openmp Factor architecture dependent code out of loop.cu 2019-08-13 21:41:47 +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 [Polly-ACC] Fix test after IR-printer change. 2019-08-13 22:42:08 +00:00
pstl [pstl] Allow customizing whether per-TU insulation is provided 2019-08-13 12:49:00 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Change /build to /build* in top-level .gitignore. 2019-08-02 02:14:08 +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.