| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
This is a reduction from the only symbol in a build of clang that the
gold plugin internalizes but lld does not.
llvm-svn: 272845
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not sure what changed, but something outside our code
is failing one of the EditLine gtests on OS X CI (and
locally) before the gtest ever gets to run. This fails
the first EditLine gtest.
This change exports the TERM as "vt100" before running
the lldb-gtest binary, fixing the issue.
llvm-svn: 272844
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D21406
llvm-svn: 272843
|
|
|
|
| |
llvm-svn: 272842
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
builtin to IR
The clang side of this was r272840:
http://reviews.llvm.org/rL272840
A follow-up step would be to auto-upgrade and remove these LLVM intrinsics completely.
Differential Revision: http://reviews.llvm.org/D21269
llvm-svn: 272841
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As noted in the code comment, a potential follow-on would be to remove
the builtins themselves. Other than ord/unord, this already works as
expected. Eg:
typedef float v4sf __attribute__((__vector_size__(16)));
v4sf fcmpgt(v4sf a, v4sf b) { return a > b; }
Differential Revision: http://reviews.llvm.org/D21268
llvm-svn: 272840
|
|
|
|
|
|
| |
Also replace mkdir -p with rm -rf && mkdir.
llvm-svn: 272839
|
|
|
|
| |
llvm-svn: 272838
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
option.
It was printing out nothing in this case.
llvm-objdump tries to disassemble sections a symbol at a time. In the case of a
fully stripped Mach-O executable the only symbol remaining in the (__TEXT,__text)
section is the special linker defined symbol __mh_execute_header . This
symbol is special in that while it is N_SECT symbol in the (__TEXT,__text)
its address is before the start of the (__TEXT,__text). It’s address is the
start of the __TEXT segment which is where the mach header is statically
linked. So the code in DisassembleMachO() needs to deal with this case specially.
rdar://26778273
llvm-svn: 272837
|
|
|
|
|
|
| |
Fix for PR28138.
llvm-svn: 272836
|
|
|
|
| |
llvm-svn: 272835
|
|
|
|
|
|
| |
Missed this in r272806, r272807.
llvm-svn: 272834
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes CFLAA ignore non-pointer values, since we can now
sanely do that with the escaping/unknown attributes. Additionally,
StratifiedAttrs make more sense to sit on nodes than edges (since
they're properties of values, and ultimately end up on the nodes of
StratifiedSets). So, this patch puts said attributes on nodes.
Patch by Jia Chen.
Differential Revision: http://reviews.llvm.org/D21387
llvm-svn: 272833
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch is adding command-line support for the MSVC buffer security check.
The buffer security check is turned on with the '/GS' compiler switch.
https://msdn.microsoft.com/en-us/library/8dbf701c.aspx
The MSVC buffer security check in implemented here:
http://reviews.llvm.org/D20346
Reviewers: hans, rnk
Subscribers: chrisha, cfe-commits, rnk, hans, thakis
Differential Revision: http://reviews.llvm.org/D20347
llvm-svn: 272832
|
|
|
|
|
|
|
|
|
|
|
| |
Of course the assembly was right but because the opcode was MOVZWi it was
encoded as "movz w16, #65535, lsl #32" which is an unallocated encoding and
would go horribly wrong on a CPU.
No idea how this bug survived this long. It seems nobody is using that aspect
of patchpoints.
llvm-svn: 272831
|
|
|
|
| |
llvm-svn: 272830
|
|
|
|
|
|
| |
They aren't performance critical and don't need to be inline.
llvm-svn: 272829
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ideally, we can get rid of most x86 LLVM intrinsics by transforming them to IR (and some of that happened
with http://reviews.llvm.org/rL272807), but it doesn't cost much to have some simple folds in the backend
too while we're working on that and as a backstop.
This fixes:
https://llvm.org/bugs/show_bug.cgi?id=27924
Differential Revision: http://reviews.llvm.org/D21356
llvm-svn: 272828
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Android didn't gain GNU's strerror_r until Marshmallow. If we're
building libc++ against something older (we build the NDK library
against the oldest release we support, currently Gingerbread), fall
back to the POSIX version.
Reviewers: mclow.lists, EricWF
Subscribers: tberghammer, danalbert, srhines, cfe-commits
Differential Revision: http://reviews.llvm.org/D21402
llvm-svn: 272827
|
|
|
|
|
|
|
|
|
|
|
|
| |
- We lacked a short unique identifier for a statistics, so I renamed the
current "Name" field that just contained the DEBUG_TYPE name of the
current file to DebugType and added a new "Name" field that contains
the C++ identifier of the statistic variable.
- Add the -stats-json option which outputs statistics in json format.
Differential Revision: http://reviews.llvm.org/D20995
llvm-svn: 272826
|
|
|
|
|
|
| |
Patch by Lei Zhang.
llvm-svn: 272825
|
|
|
|
| |
llvm-svn: 272824
|
|
|
|
| |
llvm-svn: 272823
|
|
|
|
|
|
| |
warnings enabled
llvm-svn: 272822
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Wreorder
Summary:
This patch fixes -Wreorder warnings on test classes with virtual bases. Since the compiler is performing the reordering anyway this change *should* have NFC.
However the test notes that it is checking that "virtual base classes work properly". Since initialization order is clearly part of correctness I want to confirm that this wasn't an intentional mistake.
Reviewers: mclow.lists, howard.hinnant
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D21396
llvm-svn: 272821
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
llvm statistics are currently printed when the destructor of a "static
ManagedStatic<StatisticInfo> StatInfo" in llvm runs. This destructor
currently runs in each case as part of llvm_shutdown() which is run even
in disable_free mode as part of main(). I assume that this hasn't always
been the case.
Removing the special code here avoids the statistics getting printed
twice.
Differential Revision: http://reviews.llvm.org/D21338
llvm-svn: 272820
|
|
|
|
| |
llvm-svn: 272819
|
|
|
|
|
|
| |
In preparation for porting this pass to the new PM.
llvm-svn: 272818
|
|
|
|
| |
llvm-svn: 272817
|
|
|
|
|
|
|
|
|
|
|
| |
The declaration wasn't renamed. Also neither part of the declaration
wasn't renamed.
Reviewers: klimek
Differential Revision: http://reviews.llvm.org/D21364
llvm-svn: 272816
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D21361
llvm-svn: 272815
|
|
|
|
|
|
| |
to 32 bits. This is in response to a comment by Eli Friedman.
llvm-svn: 272814
|
|
|
|
|
|
|
|
|
| |
Emit a S_UDT record for typedefs. We still need to do something for
class types.
Differential Revision: http://reviews.llvm.org/D21149
llvm-svn: 272813
|
|
|
|
|
|
|
| |
We were dropping the CanOmitFromDynSym bit when creating undefined
symbols because of comdat.
llvm-svn: 272812
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: As per title. This completes the C API Attribute support.
Reviewers: Wallbraker, whitequark, echristo, rafael, jyknight
Subscribers: mehdi_amini
Differential Revision: http://reviews.llvm.org/D21365
llvm-svn: 272811
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Reports the struct field access info only if it has been used at least
once.
Adds type printing size limit.
Formats the cache_frag.cpp with clang-format.
Reviewers: bruening
Subscribers: llvm-commits, eugenis, kcc, zhaoqin, vitalybuka, aizatsky, kubabrecka
Differential Revision: http://reviews.llvm.org/D21351
llvm-svn: 272810
|
|
|
|
|
|
| |
errors
llvm-svn: 272809
|
|
|
|
| |
llvm-svn: 272808
|
|
|
|
|
|
|
| |
Sibling patch to r272806:
http://reviews.llvm.org/rL272806
llvm-svn: 272807
|
|
|
|
|
|
|
|
| |
This allows us to emit native IR in Clang (next commit).
Also, update the intrinsic tests to show that codegen already knows how to handle
the IR that Clang will soon produce.
llvm-svn: 272806
|
|
|
|
| |
llvm-svn: 272805
|
|
|
|
| |
llvm-svn: 272804
|
|
|
|
| |
llvm-svn: 272803
|
|
|
|
|
|
|
|
|
| |
We would fail to validate the type of the tan function which would cause
downstream users of isValidProtoForLibFunc to assert.
This fixes PR28143.
llvm-svn: 272802
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D21144
llvm-svn: 272801
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
During expression evaluation, the ClangExpressionParser preforms a
number of hard-coded fixups on the expression's IR before the module
is assembled and dispatched to be run in a ThreadPlan.
This patch allows the runtimes to register LLVM passes to be run over the
generated IR, that they may perform language or architecture-specfic fixups
or analyses over the generated expression.
This makes expression evaluation for plugins more flexible and allows
language-specific fixes to reside in their own module, rather than
littering the expression evaluator itself with language-specific fixes.
llvm-svn: 272800
|
|
|
|
|
|
|
|
|
| |
Reverting due to assertion failure in
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
This reverts commit r272792.
llvm-svn: 272799
|
|
|
|
|
|
|
|
| |
remove accidentally checked-in code.
Related to revision r272782
llvm-svn: 272798
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D21085
llvm-svn: 272797
|
|
|
|
|
|
| |
This should help moving Strides to LAA later.
llvm-svn: 272796
|