- Jun 23, 2016
-
-
Matt Arsenault authored
llvm-svn: 273514
-
Sanjoy Das authored
Spotted during random inspection. llvm-svn: 273512
-
Reid Kleckner authored
llvm-svn: 273511
-
Reid Kleckner authored
llvm-svn: 273510
-
Reid Kleckner authored
llvm-svn: 273508
-
Reid Kleckner authored
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
-
Xinliang David Li authored
To make definition of mov ctors easier. Differential Revision: http://reviews.llvm.org/D21563 llvm-svn: 273506
-
Chris Bieneman authored
Using C instead of CXX here removes a configuration-time dependency on libcxx for the sanitizers. This should be NFC. llvm-svn: 273505
-
Reid Kleckner authored
My PDBs always have this size for stream 11. Not sure why. llvm-svn: 273504
-
Chris Bieneman authored
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
-
Sanjoy Das authored
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 -
Saleem Abdulrasool authored
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
-
Rafael Espindola authored
With this it handle -fPIE. llvm-svn: 273499
-
Rafael Espindola authored
llvm-svn: 273497
-
Changpeng Fang authored
Reviewers: tstellarAMD, arsenm Differential Revision: http://reviews.llvm.org/D21533 llvm-svn: 273496
-
Hans Wennborg authored
Differential Revision: http://reviews.llvm.org/D21621 llvm-svn: 273495
-
Pawel Bylica authored
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
-
Chris Bieneman authored
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
-
Chris Bieneman authored
These are just missing swap functions for handling endian conversion. llvm-svn: 273478
-
Reid Kleckner authored
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
-
Ryan Govostes authored
llvm-svn: 273476
-
Anna Zaks authored
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
-
Davide Italiano authored
PR: 28256 Differential Revision: http://reviews.llvm.org/D21616 llvm-svn: 273474
-
Daniel Berlin authored
llvm-svn: 273473
-
Simon Atanasyan authored
llvm-svn: 273471
-
Peter Collingbourne authored
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
-
Matt Arsenault authored
llvm-svn: 273469
-
Simon Atanasyan authored
llvm-svn: 273468
-
Matt Arsenault authored
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
-
Krzysztof Parzyszek authored
Transform: (store ch addr (add x (add (shl y c) e))) to: (store ch addr (add x (shl (add y d) c))), where e = (shl d c) for some integer d. The purpose of this is to enable generation of loads/stores with shifted addressing mode, i.e. mem(x+y<<#c). For that, the shift value c must be 0, 1 or 2. llvm-svn: 273466 -
Simon Atanasyan authored
The findMIPSMultilibs is too long. One more reason for splitting is to escape redundant calls of MultilibSet::FilterOut method which lead to disk access. llvm-svn: 273465
-
Ryan Govostes authored
This test case checks that globals from all object files are being registered after they've been linked together. It also checks that globals from libraries loaded at runtime are registered. llvm-svn: 273464
-
Vedant Kumar authored
Push a new region for the try block and propagate execution counts through it. This ensures that catch statements get a region counter distinct from the try block's counter. llvm-svn: 273463
-
Davide Italiano authored
llvm-svn: 273462
-
Davide Italiano authored
* UpdateCompilerUsed() -> updateCompilerUsed() * ThinLTO doesn't use the API so we can remove the include * Clean up unused #include <functional> from the header * Rename #ifdef guard comment to be correct. llvm-svn: 273461
-
Xinliang David Li authored
-view-machine-block-freq-propagation-dags currently support integer and fraction as the suboptions. This patch adds the 'count' suboption to display actual profile count if available. llvm-svn: 273460
-
Sanjay Patel authored
This is similar to the computeKnownBits improvement in rL268479. There's probably more we can do for vector logic instructions, but this should let us see non-splat constant masking ops that can become vector selects instead of and/andn/or sequences. Differential Revision: http://reviews.llvm.org/D21610 llvm-svn: 273459
-
Chad Rosier authored
llvm-svn: 273458
-
Rafael Espindola authored
Include a token test showing that access to private is now the same as to internal. llvm-svn: 273457
-
Nirav Dave authored
Recommiting after fixing over-aggressive assertion [DAG] Previously debug values would transfer debuginfo for the selected start node for a replacement which allows for debug to be dropped. Push debug value transfer to occur with node/value replacement in SelectionDAG, remove now extraneous transfers of debug values. This refixes PR9817 which was being incompletely checked in the testsuite. Reviewers: jyknight Subscribers: dblaikie, llvm-commits Differential Revision: http://reviews.llvm.org/D21037 llvm-svn: 273456
-