Go to file
Chaoren Lin 0efb51a072 Fix SBFrame::FindValue for when only global variables exist.
Summary:
sc.block->AppendVariables(...) returns 0 if there are no arguments or local
variables, but we still need to check for global variables.

Test Plan:
```
$ cat test.cpp
int i;
int main() {
}
$ lldb test -o 'b main' -o r
(lldb) script
>>> print lldb.frame.FindValue('i', lldb.eValueTypeVariableGlobal)
(int) i = 0 # as opposed to "No value"
```

Reviewers: jingham, ovyalov, vharron, clayborg

Reviewed By: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D8464

llvm-svn: 232767
2015-03-19 22:00:13 +00:00
clang MS ABI: Implement the MSVC 2015 scheme for scope disambiguation 2015-03-19 21:54:30 +00:00
clang-tools-extra [clang-tidy] Move google-readability-function check to readability-named-parameter. 2015-03-16 22:31:16 +00:00
compiler-rt [sanitizer] fix 'sancov.py merge' and add a test for it 2015-03-19 21:01:27 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Implement erfc 2015-03-18 21:52:07 +00:00
libcxx Create macro to allow testing of is_convertible without the compiler builtin. 2015-03-19 21:11:02 +00:00
libcxxabi Don't print debugging messages to stdout. 2015-03-19 09:17:21 +00:00
lld [Mips] Add comments to the relocation calculation functions 2015-03-19 20:56:34 +00:00
lldb Fix SBFrame::FindValue for when only global variables exist. 2015-03-19 22:00:13 +00:00
llgo llgoi: Fix type identity for imported binary packages. 2015-03-18 08:34:40 +00:00
llvm PassManagerBuilder: Remove effectively dead 'StripDebug' option 2015-03-19 21:37:17 +00:00
openmp fix for broken commit 231774 2015-03-10 10:14:57 +00:00
polly Add some missing __isl_give/__isl_keep annotations 2015-03-19 07:43:35 +00:00