| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
For ARM on linux we use /proc/cpuinfo to detect the host CPU's features.
Linux derives these values without ever looking at the vendor of the
specific CPU implementation. Hence, it adds little value, if we parse
the output of /proc/cpuinfo only for certain vendors.
This patch enables us to derive the correct feature flags e.g. for Qualcomm
CPUs.
llvm-svn: 183790
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Change for http://llvm-reviews.chandlerc.com/D952
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D953
llvm-svn: 183789
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
COFF header is always present both in executable and in object file. PE header
is present only in executable. So the natural way to handle PE/COFF file is
treating COFF is mandatory header and PE is optional. Current data structre
does not allow it, because PE header includes COFF header. Removing COFF
header will simplify the code to handle PE/COFF files.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D952
llvm-svn: 183788
|
| |
|
|
| |
llvm-svn: 183787
|
| |
|
|
| |
llvm-svn: 183786
|
| |
|
|
| |
llvm-svn: 183785
|
| |
|
|
| |
llvm-svn: 183784
|
| |
|
|
| |
llvm-svn: 183783
|
| |
|
|
|
|
| |
This is preparation for replacing Path.h with PathV2.h.
llvm-svn: 183782
|
| |
|
|
|
|
| |
This is preparation for replacing Path.h with PathV2.h.
llvm-svn: 183781
|
| |
|
|
| |
llvm-svn: 183780
|
| |
|
|
| |
llvm-svn: 183779
|
| |
|
|
| |
llvm-svn: 183778
|
| |
|
|
| |
llvm-svn: 183777
|
| |
|
|
|
|
| |
Testcase to follow.
llvm-svn: 183776
|
| |
|
|
| |
llvm-svn: 183775
|
| |
|
|
| |
llvm-svn: 183774
|
| |
|
|
| |
llvm-svn: 183773
|
| |
|
|
|
|
|
| |
Allowing LLDB to resolve names of Python functions when they are located in classes
This allows things like *bound* classmethods to be used for formatters, commands, ...
llvm-svn: 183772
|
| |
|
|
| |
llvm-svn: 183771
|
| |
|
|
| |
llvm-svn: 183770
|
| |
|
|
| |
llvm-svn: 183769
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Some compilers where failing with this file because the number of symbols was above 2**15.
- Replace std::list<> and std::vector<> with plain arrays.
- Change VariadicMatcherCreateCallback to be a function template, and a
single class that wraps the instantiations.
- Remove some more unnecessary template arguments and function calls.
Reviewers: klimek
CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D948
llvm-svn: 183768
|
| |
|
|
|
|
| |
No functionality changes.
llvm-svn: 183767
|
| |
|
|
|
|
| |
Allow memory read -t to take persistent types (those defined with expression struct $....)
llvm-svn: 183766
|
| |
|
|
| |
llvm-svn: 183765
|
| |
|
|
| |
llvm-svn: 183764
|
| |
|
|
| |
llvm-svn: 183763
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 183762
|
| |
|
|
| |
llvm-svn: 183761
|
| |
|
|
|
|
|
|
| |
binding for libclang.
Patch by Mathieu Baudet!
llvm-svn: 183760
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 183759
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 183758
|
| |
|
|
| |
llvm-svn: 183757
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of a custom implementation of replaceAllUsesWith, we just call
replaceAllUsesWith and recreate llvm.used and llvm.compiler-used.
This change is particularity interesting because it makes llvm see
through what clang is doing with static used functions in extern "C"
contexts. With this change, running clang -O2 in
extern "C" {
__attribute__((used)) static void foo() {}
}
produces
@llvm.used = appending global [1 x i8*] [i8* bitcast (void ()* @foo to
i8*)], section "llvm.metadata"
define internal void @foo() #0 {
entry:
ret void
}
llvm-svn: 183756
|
| |
|
|
|
|
| |
the byte size will tell us how to display it.
llvm-svn: 183755
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 183754
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It will be tested in the next commit which moves another user to identify_magic.
Original message:
Fix an out of bounds array access.
We were looking at Magic[5] without checking Length. Since this path would not
return unless Length >= 18 anyway, just move the >= 18 check up.
llvm-svn: 183753
|
| |
|
|
| |
llvm-svn: 183752
|
| |
|
|
| |
llvm-svn: 183751
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
alphanumeric character.
Summary:
"//Test" becomes "// Test". This change is aimed to improve code
readability and conformance to certain coding styles. If a comment starts with a
non-alphanumeric character, the space isn't added, e.g. "//-*-c++-*-" stays
unchanged.
Reviewers: klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D949
llvm-svn: 183750
|
| |
|
|
|
|
|
| |
This enables the compiler to see the enum and produce warnings about a switch
not being fully covered. Fix one of these warnings.
llvm-svn: 183749
|
| |
|
|
| |
llvm-svn: 183748
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 183747
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 183746
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 183745
|
| |
|
|
| |
llvm-svn: 183744
|
| |
|
|
|
|
|
|
| |
The effect of llvm.used is to introduce an invisible reference, so this seems
a reasonable restriction. It will be used to provide an easy ordering of
the entries in llvm.used.
llvm-svn: 183743
|
| |
|
|
| |
llvm-svn: 183742
|
| |
|
|
|
|
|
|
| |
PrecompilePreambleConsumer.
Actions outlive consumers. PR16295. Found by AddressSanitizer.
llvm-svn: 183741
|