| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
| |
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D10976
llvm-svn: 241606
|
| |
|
|
|
|
|
|
|
|
|
| |
getSymbolValue now returns a value that in convenient for most callers:
* 0 for undefined
* symbol size for common symbols
* offset/address for symbols the rest
Code that needs something more specific can check getSymbolFlags.
llvm-svn: 241605
|
| |
|
|
|
|
| |
static_assert. Amends r241577.
llvm-svn: 241604
|
| |
|
|
| |
llvm-svn: 241603
|
| |
|
|
| |
llvm-svn: 241602
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
for (
auto aaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
aaaaaaaaaaaaaaaaaaaaaaaaaaa != bbbbbbbbbbbbbbbbbbbbbbb;
++aaaaaaaaaaaaaaaaaaaaaaaaaaa) {
After:
for (auto aaaaaaaaaaaaaaaaaaaaaaaaaaa(
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
aaaaaaaaaaaaaaaaaaaaaaaaaaa != bbbbbbbbbbbbbbbbbbbbbbb;
++aaaaaaaaaaaaaaaaaaaaaaaaaaa) {
llvm-svn: 241601
|
| |
|
|
| |
llvm-svn: 241600
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the build stages that are sent through a pipe (e.g. tee) failed.
This potentially allowed builds and/or tests to fail without anyone
noticing. It appears that for the LLVM 3.6.[01] releases this actually
happened for the Ubuntu 14.04LTS binary releases. The essence of the
issue is that without ``set -o pipefail`` the following command in bash
has a zero exit code.
false | tee /dev/null ; exit $?
llvm-svn: 241599
|
| |
|
|
| |
llvm-svn: 241598
|
| |
|
|
|
|
|
|
|
| |
This type of prologue isn't supported yet. Implementing it should be a
matter of copying the adjusted incoming EBP into ESI (the base pointer)
instead of EBP. The original EBP can be saved and restored from other
memory afterwards.
llvm-svn: 241597
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Fix StringExtractor.h issues.
* source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
(#include "Utility/StringExtractor.h): Not needed, this is already
included by ProcessKDP.h
* unittests/Utility/StringExtractorTest.cpp
(#include "Utility/StringExtractor.h): Update include path to the
new location.
Reviewers: labath, clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D10995
llvm-svn: 241596
|
| |
|
|
|
|
|
|
| |
This includes code that is intended to be target-independent as well
as the Hexagon-specific details. This is just the framework without
any users.
llvm-svn: 241595
|
| |
|
|
| |
llvm-svn: 241594
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
At least not in the interface exposed by ObjectFile. This matches what ELF and
COFF implement.
Adjust existing code that was expecting them to have values. No overall
functionality change intended.
Another option would be to change the interface and the ELF and COFF
implementations to say that the value of a common symbol is its size.
llvm-svn: 241593
|
| |
|
|
| |
llvm-svn: 241592
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Broardcaster -> Broadcaster
Summary: [lldb-mi] Spell resource string name correctly.
Reviewers: abidh, ki.stfu
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D10993
llvm-svn: 241591
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LLVM requires and handles this now and has the correct compiler
version checks. This block of code for cmake in LLDB is no longer
needed.
Summary: cmake no longer needs to deal with -std=c++11 checks.
Reviewers: labath
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D10994
llvm-svn: 241590
|
| |
|
|
| |
llvm-svn: 241589
|
| |
|
|
|
|
|
|
| |
This commit changes the target arch to fix the test case commited in r241566
that was failing on ninja-x64-msvc-RA-centos6. Also add checks to make sure
the callee's address is loaded to blx's operand.
llvm-svn: 241588
|
| |
|
|
|
|
|
|
|
| |
They are implemented like that in some object formats, but for the interface
provided by lib/Object, SF_Undefined and SF_Common are different things.
This matches the ELF and COFF implementation and fixes llvm-nm for MachO.
llvm-svn: 241587
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seperated -> Separated.
Summary: [lldb-mi] Fix typo in variable name.
Reviewers: abidh, ki.stfu
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D10992
llvm-svn: 241586
|
| |
|
|
| |
llvm-svn: 241585
|
| |
|
|
|
|
|
|
| |
In these two contexts we really just want the raw n_value. No need to use
getSymbolValue which checks for special cases where, semantically, the symbol
has no value.
llvm-svn: 241584
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
return aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa([=
](int iiiiiiiiiiii) {
return aaaaaaaaaaaaaaaaaaaaaaa != aaaaaaaaaaaaaaaaaaaaaaa;
});
After:
return aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa([=](
int iiiiiiiiiiii) {
return aaaaaaaaaaaaaaaaaaaaaaa != aaaaaaaaaaaaaaaaaaaaaaa;
});
llvm-svn: 241583
|
| |
|
|
| |
llvm-svn: 241582
|
| |
|
|
| |
llvm-svn: 241581
|
| |
|
|
| |
llvm-svn: 241580
|
| |
|
|
|
|
| |
error with an unexpected close curly brace. For some reason, the range-based for loop requires curly braces to compile in MSVC.
llvm-svn: 241579
|
| |
|
|
|
|
| |
unexpected close curly brace. For some reason, the range-based for loop requires curly braces to compile in MSVC.
llvm-svn: 241578
|
| |
|
|
|
|
| |
This requires changing a static_assert into an assert, too.
llvm-svn: 241577
|
| |
|
|
|
|
| |
Patch by Eugene Zelenko.
llvm-svn: 241576
|
| |
|
|
|
|
|
|
|
|
| |
This is fix for bug 23704: LLDB standalone build always include
ClangConfig.cmake even if Clang was built with LLVM (ClangConfig.cmake
doesn't exist).
Patch by: Eugene Zelenko
llvm-svn: 241575
|
| |
|
|
| |
llvm-svn: 241574
|
| |
|
|
| |
llvm-svn: 241573
|
| |
|
|
|
|
|
| |
I have moved StringExtractor.h into the include/ folder so that it can be properly included by
everyone.
llvm-svn: 241572
|
| |
|
|
|
|
|
|
| |
Since http://reviews.llvm.org/D10294, ASan test cases now respect default env. options via `ASAN_OPTION=$ASAN_OPTIONS:additional_options=xxx`. This patch adds this to a few test cases where it's still missing.
Differential Revision: http://reviews.llvm.org/D10988
llvm-svn: 241571
|
| |
|
|
|
|
|
|
|
|
|
|
| |
getFirstNonPHI's documentation states that it returns null if there is
no non-PHI instruction. However, it instead returns a pointer to the
end iterator. The implementation of getFirstNonPHI claims that
dereferencing the iterator will result in an assertion failure but this
doesn't occur. Instead, machinery like getFirstInsertionPt will attempt
to isa<> this invalid memory which results in unpredictable behavior.
Instead, make getFirst* return null if no such instruction exists.
llvm-svn: 241570
|
| |
|
|
|
|
|
|
|
| |
This is the redone of r238623 what was reverted with the refactor
in r239148.
Differential revision: http://reviews.llvm.org/D10957
llvm-svn: 241569
|
| |
|
|
| |
llvm-svn: 241568
|
| |
|
|
| |
llvm-svn: 241567
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
be emitted.
This is needed to enable ARM long calls for LTO and enable and disable it on a
per-function basis.
Out-of-tree projects currently using EnableARMLongCalls to emit long calls
should start passing "+long-calls" to the feature string (see the changes made
to clang in r241565).
rdar://problem/21529937
Differential Revision: http://reviews.llvm.org/D9364
llvm-svn: 241566
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
"-arm-long-calls".
This change allows using -mlong-calls/-mno-long-calls for LTO and enabling or
disabling long call on a per-function basis.
rdar://problem/21529937
Differential Revision: http://reviews.llvm.org/D9414
llvm-svn: 241565
|
| |
|
|
|
|
|
| |
They aren't universally supported and we're not getting any benefit
from using them.
llvm-svn: 241564
|
| |
|
|
| |
llvm-svn: 241563
|
| |
|
|
| |
llvm-svn: 241562
|
| |
|
|
|
|
| |
rdar://19670303
llvm-svn: 241561
|
| |
|
|
|
|
|
|
|
|
| |
code-completion results,
when appropriate.
rdar://20742295
llvm-svn: 241560
|
| |
|
|
|
|
|
|
| |
implementations.
rdar://20643768
llvm-svn: 241559
|
| |
|
|
|
|
|
|
| |
nullability specifier.
rdar://20755276
llvm-svn: 241558
|
| |
|
|
|
|
| |
rdar://19369529
llvm-svn: 241557
|