Go to file
Stephane Sezer ca5e153fb1 Avoid invalid string access in ObjCLanguage::MethodName::SetName
Summary:
Don't access `name[1]  if the string is only of length 1.  Avoids a
crash/assertion failure when parsing the string `-`.

Test Plan:
Debug a swift binary, set a breakpoint, watch lldb not crash

Original change by Paul Menage <menage@fb.com>

Reviewers: lldb-commits, clayborg

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

llvm-svn: 304725
2017-06-05 17:44:04 +00:00
clang [test] Fix baremetal test to allow any -resource-dir 2017-06-05 14:13:37 +00:00
clang-tools-extra [clang-tidy] Make misc-static-assert accept assert(!"msg") 2017-06-03 10:13:55 +00:00
compiler-rt CMake: don't try to use lld if we're not building it. 2017-06-05 15:10:04 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Fix the recently introduced test to work on C++03 2017-06-03 01:21:29 +00:00
libcxxabi [libcxxabi] HandleLLVMOptions in out of tree build 2017-06-03 17:23:19 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld Symbols re-defined with -wrap and -defsym need to be excluded from inter- 2017-06-05 16:24:25 +00:00
lldb Avoid invalid string access in ObjCLanguage::MethodName::SetName 2017-06-05 17:44:04 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [DAGCombine] Fix unchecked calls to DAGCombiner::*ExtPromoteOperand 2017-06-05 17:01:10 +00:00
openmp OpenMP 4.5: implemented support of schedule(simd:guided) and 2017-06-05 17:17:33 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Update isl to isl-0.18-679-g6e75a0d 2017-06-04 19:13:10 +00:00