| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 273538
|
|
|
|
| |
llvm-svn: 273537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Shridhar Joshi.
This option provides names of all the link time modules which define and
reference symbols requested by user. This helps to speed up application
development by detecting references causing undefined symbols.
It also helps in detecting symbols being resolved to wrong (unintended)
definitions in case of applications containing multiple definitions for
same symbols with different types, bindings.
Implements PR28226.
llvm-svn: 273536
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Nitesh Jain.
This patch contains 2 changes:
- Corrected target address calculation of compact branch instructions to reflect changes in disassembler (http://reviews.llvm.org/D17540).
- Added emulation for (missing) 'Addiu' instruction.
Reviewers :jaydeep, bhushan, clayborg
Differential: http://reviews.llvm.org/D21064
llvm-svn: 273535
|
|
|
|
|
|
|
|
|
|
| |
Patch by Nitesh Jain.
Summary: On some target like MIPS32 we need to explicitly link atomic library for 64 bit atomic operations. This module then can be used in LLDB (http://reviews.llvm.org/D20464) or Libcxx (http://reviews.llvm.org/D16613) for explicitly link to atomic library.
Reviewers: chandlerc, beanz
Differential: reviews.llvm.org/D20896
llvm-svn: 273534
|
|
|
|
| |
llvm-svn: 273533
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Peter Smith found while trying to support thunk creation for ARM that
LLD sometimes creates broken thunks for MIPS. The cause of the bug is
that we assign file offsets to input sections too early. We need to
create all sections and then assign section offsets because appending
thunks changes file offsets for all following sections.
This patch separates the pass to assign file offsets from thunk
creation pass. This effectively reverts r265673.
Differential Revision: http://reviews.llvm.org/D21598
llvm-svn: 273532
|
|
|
|
|
|
|
|
| |
for TestNamespaceLookup.py; didn't see anything obviously wrong so I'll
need to look at this more closely before re-committing. (passed OK on
macOS ;)
llvm-svn: 273531
|
|
|
|
| |
llvm-svn: 273528
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Add license info and brief description of file to AFLDriverTest.cpp.
Reviewers: kcc, aizatsky
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D21487
llvm-svn: 273527
|
|
|
|
| |
llvm-svn: 273526
|
|
|
|
| |
llvm-svn: 273525
|
|
|
|
|
|
|
|
|
| |
There's uses of "macosx" that will be more tricky to
change, like in triples (e.g. "x86_64-apple-macosx10.11") -
for now I'm just updating source comments and strings printed
for humans.
llvm-svn: 273524
|
|
|
|
| |
llvm-svn: 273523
|
|
|
|
|
|
|
| |
No functional change is intended, this should just clean things up a
little.
llvm-svn: 273522
|
|
|
|
|
|
| |
This fixes PR28269.
llvm-svn: 273521
|
|
|
|
|
|
| |
This will be used in a followup change in clang.
llvm-svn: 273520
|
|
|
|
|
|
| |
Suggested by Sean Silva.
llvm-svn: 273519
|
|
|
|
|
|
| |
it caused pr28270.
llvm-svn: 273518
|
|
|
|
|
|
|
| |
There is no check prefix for "WHOLE-FILE": this particular line was
supposed to use the "ALL" prefix.
llvm-svn: 273517
|
|
|
|
| |
llvm-svn: 273516
|
|
|
|
| |
llvm-svn: 273514
|
|
|
|
|
|
| |
Spotted during random inspection.
llvm-svn: 273512
|
|
|
|
| |
llvm-svn: 273511
|
|
|
|
| |
llvm-svn: 273510
|
|
|
|
| |
llvm-svn: 273508
|
|
|
|
|
|
|
|
| |
MCSymbol.h shouldn't pull in MCAssembler.h, just MCFragment.h.
MCLinkerOptimizationHint.h shouldn't need MCMachObjectWriter.h. The
rest is fixing the fallout.
llvm-svn: 273507
|
|
|
|
|
|
|
| |
To make definition of mov ctors easier.
Differential Revision: http://reviews.llvm.org/D21563
llvm-svn: 273506
|
|
|
|
|
|
| |
Using C instead of CXX here removes a configuration-time dependency on libcxx for the sanitizers. This should be NFC.
llvm-svn: 273505
|
|
|
|
|
|
| |
My PDBs always have this size for stream 11. Not sure why.
llvm-svn: 273504
|
|
|
|
|
|
|
|
| |
This is a follow-up to r273479. At the time I wrote r273479 I didn't connect the dots that the functions I was adding had to exist somewhere. Turns out, they do. This finishes moving the functions to MachO.h.
Existing MachO fat header tests like test/tools/llvm-readobj/Inputs/macho-universal-archive.x86_64.i386 execute this code.
llvm-svn: 273502
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When trying to convert a loading instruction into a FAULTING_LOAD, we
sometimes face code like this:
if %R10 is not null:
%R9<def> = MOV32ri Immediate
%R9<def, tied> = AND32rm %R9, 0x20(%R10)
else:
goto TRAP
In these cases we would like to use the AND32rm instruction as the
faulting operation by hoisting the "depedency" def-ing %R9 also above
the control flow, transforming the program into:
%R9<def> = MOV32ri Immediate
%R9<def, tied> = FAULTING_LOAD_OP(AND32rm %R9, 0x20(%R10), FailPath: TRAP)
This change teaches ImplicitNullChecks to do the above, when safe.
llvm-svn: 273501
|
|
|
|
|
|
|
|
|
|
|
|
| |
These routines do not require executable stacks. However, by default ELFish
linkers may assume an executable stack on GNUish environments (and some non-GNU
ones too!). The GNU extension to add a note to indicate a non-executable stack
is honoured by these environments to mark the stack as non-executable (the
compiler normally emits this directive on appropriate targets whenever
possible). This allows normal builds from getting executable stacks due to
linking to the compiler rt builtins.
llvm-svn: 273500
|
|
|
|
|
|
| |
With this it handle -fPIE.
llvm-svn: 273499
|
|
|
|
| |
llvm-svn: 273497
|
|
|
|
|
|
|
|
| |
Reviewers: tstellarAMD, arsenm
Differential Revision: http://reviews.llvm.org/D21533
llvm-svn: 273496
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D21621
llvm-svn: 273495
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Do not require __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS macros to be defined globally. They are not needed for C++11 compliant standard headers.
Reviewers: joerg, jyknight
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D21553
llvm-svn: 273493
|
|
|
|
|
|
| |
LLVMConfig.cmake needs to set LLVM_BINARY_DIR differently based on whether or not it is the build directory or the install directory. The build directory just needs to set the value from the configuration, the install directory needs to set it to the install prefix.
llvm-svn: 273479
|
|
|
|
|
|
| |
These are just missing swap functions for handling endian conversion.
llvm-svn: 273478
|
|
|
|
|
|
|
| |
Tweak the big-types.ll test case to catch this bug. We just need an
enumerator name that doesn't have a length that is a multiple of 4.
llvm-svn: 273477
|
|
|
|
| |
llvm-svn: 273476
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This test is flaky. Specifically, on some Mac configurations we see the
__sanitizer_ptr_cmp as the 0th frame. Let's relax it to not require that
f is in frame #0.
61396==ERROR: AddressSanitizer: invalid-pointer-pair: 0x01e00510 0x01e004d0
0 0x18f5a3 in __sanitizer_ptr_cmp ... libclang_rt.asan_osx_dynamic.dylib+0xaf5a3)
1 0xdd924 in f(char, char*, char*) ... invalid-pointer-pairs.cc:14:14
Differential Revision: http://reviews.llvm.org/D21588
llvm-svn: 273475
|
|
|
|
|
|
|
| |
PR: 28256
Differential Revision: http://reviews.llvm.org/D21616
llvm-svn: 273474
|
|
|
|
| |
llvm-svn: 273473
|
|
|
|
| |
llvm-svn: 273471
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a convenience iterator that allows clients to enumerate the
GlobalObjects within a Module.
Also start using it in a few places where it is obviously the right thing
to use.
Differential Revision: http://reviews.llvm.org/D21580
llvm-svn: 273470
|
|
|
|
| |
llvm-svn: 273469
|
|
|
|
| |
llvm-svn: 273468
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main sin this was committing was using terminator
instructions in the middle of the block, and then
not updating the block successors / predecessors.
Split the blocks up to avoid this and introduce new
pseudo instructions for branches taken with exec masking.
Also use a pseudo instead of emitting s_endpgm and erasing
it in the special case of a non-void return.
llvm-svn: 273467
|