summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [ELF2] -z now option implementedGeorge Rimar2015-10-075-1/+33
| | | | | | | | When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or when the shared library is linked to using dlopen, instead of deferring function call resolution to the point when the function is first called. Differential Revision: http://reviews.llvm.org/D13468 llvm-svn: 249551
* [ARM][AArch64] Only lower to interleaved load/store if the target has NEONJeroen Ketema2015-10-074-95/+174
| | | | | | | | | Without an additional check for NEON, the compiler crashes during legalization of NEON ldN/stN. Differential Revision: http://reviews.llvm.org/D13508 llvm-svn: 249550
* Fix race condition in the working directory cleanup codeTamas Berghammer2015-10-071-4/+9
| | | | llvm-svn: 249549
* Use non virtual destructors for sections.Rafael Espindola2015-10-076-28/+29
| | | | llvm-svn: 249548
* [ARM] Push more complex check down to reduce compile time. NFC.Chad Rosier2015-10-071-10/+10
| | | | llvm-svn: 249547
* Don't repeat names in comments and don't indent in namespaces. NFC.Rafael Espindola2015-10-074-85/+78
| | | | llvm-svn: 249546
* IRBuilder: Use Map.lookup instead of Map.find [NFC]Tobias Grosser2015-10-071-8/+6
| | | | | | | This simplifies the code. Suggested-by: Johannes Doerfert llvm-svn: 249545
* IRBuilder: Ensure we do not add empty map elementsTobias Grosser2015-10-071-4/+14
| | | | | | | | | | | Do not use "Map[Key] == nullptr" to check if a Key is in the map, but use "Map.find(Key) == Map.end()". Map[Key] always adds Key into the map, a side-effect we do not want. Found by inspection. This is hard to test outside of a targetted unit test, which seems too much overhead for this individual issue. llvm-svn: 249544
* IRBuilder: Simplify code and reduce indention [NFC]Tobias Grosser2015-10-071-20/+24
| | | | llvm-svn: 249543
* clang-format: Hopefully fix code blocks in docs.Daniel Jasper2015-10-072-1/+7
| | | | | | Otherwise I will have to install sphinx ;).. llvm-svn: 249542
* Remove working directory from remote platform in the test suiteTamas Berghammer2015-10-071-0/+7
| | | | | | | | | Previously we haven't cleaned up the working directory we created on the remote platform and because of it we run out of storage on some android device/emulator (caused by the 2x increase of the number of test cases because of dwo). llvm-svn: 249541
* Add checker for the C++ Core Guidelines: cppcoreguidelines-pro-type-const-cast.Aaron Ballman2015-10-077-0/+87
| | | | | | Patch by Matthias Gehre! llvm-svn: 249540
* XFAIL new dwo test failing with totclang on linux i386Tamas Berghammer2015-10-071-0/+1
| | | | llvm-svn: 249539
* Silence warning about not being able to find clang-interpreterRichard Barton2015-10-071-11/+15
| | | | | | This binary is only built with the examples project, so only require it then. llvm-svn: 249538
* Revert: r249536 - Testing commit access with a trival whitespace change.Scott Egerton2015-10-071-1/+1
| | | | llvm-svn: 249537
* Testing commit access with a trival whitespace change.Scott Egerton2015-10-071-1/+1
| | | | llvm-svn: 249536
* Make the test take input from stdin to prevent matching characters in a file ↵Richard Barton2015-10-071-4/+4
| | | | | | path llvm-svn: 249535
* Fix crash in codegen on casting to `bool &`.Alexey Bataev2015-10-072-1/+10
| | | | | | | | Currently codegen crashes trying to emit casting to bool &. It happens because bool type is converted to i1 and later then lvalue for reference is converted to i1*. But when codegen tries to load this lvalue it crashes trying to load value from this i1*. Differential Revision: http://reviews.llvm.org/D13325 llvm-svn: 249534
* Fix minor typos in comments.Bruce Mitchener2015-10-073-4/+4
| | | | llvm-svn: 249533
* [VFS] Refactor VFSFromYAML a bit.Benjamin Kramer2015-10-071-60/+57
| | | | | | | | | | - Rename it to RedirectingFileSystem. This is what it does, YAML is just a serialization format for it. - Consistently use unique_ptr for memory management. No functional change intended. llvm-svn: 249532
* [Go] Fix inconsistent-missing-override warnings.Bruce Mitchener2015-10-071-4/+4
| | | | llvm-svn: 249531
* Run tests with dwo symbol filesTamas Berghammer2015-10-076-3/+65
| | | | | | | | | | dwo symbol files are generated when code compiled with the "-gsplit-dwarf" command option (https://gcc.gnu.org/wiki/DebugFission). This CL modifies the test system to run tests with inferiors compile with the "-gsplit-dwarf" Differential revision: http://reviews.llvm.org/D13300 llvm-svn: 249530
* [ELF2] Handle -m optionDenis Protivensky2015-10-0710-20/+234
| | | | | | | | | Parse and apply emulation given with -m option. Check input files to match ELF type and machine architecture provided with -m. Differential Revision: http://reviews.llvm.org/D13055 llvm-svn: 249529
* Revert "This patch builds on top of D13378 to handle constant condition."James Molloy2015-10-072-56/+0
| | | | | | This reverts commit r249431. This caused failures in sqlite3: http://lab.llvm.org:8011/builders/clang-native-arm-lnt/builds/14453 llvm-svn: 249528
* test: Add example of scalar that is reused accross loopTobias Grosser2015-10-071-0/+215
| | | | llvm-svn: 249527
* [VFS] Switch clang-tidy tests to use an in-memory fs.Benjamin Kramer2015-10-071-4/+8
| | | | | | | Again, this is both cleaner and completely removes any depedency on the host file system. llvm-svn: 249526
* [VFS] Also drop '.' when adding files to an in-memory FS.Benjamin Kramer2015-10-072-0/+10
| | | | | | Otherwise we won't be able to find them later. llvm-svn: 249525
* [ELF2] Fix gcc build errorDenis Protivensky2015-10-071-0/+1
| | | | llvm-svn: 249524
* [EarlyCSE] Fix handling of target memory intrinsics for CSE'ing loads.Arnaud A. de Grandmaison2015-10-072-14/+41
| | | | | | | | | | | | | | | | | Summary: Some target intrinsics can access multiple elements, using the pointer as a base address (e.g. AArch64 ld4). When trying to CSE such instructions, it must be checked the available value comes from a compatible instruction because the pointer is not enough to discriminate whether the value is correct. Reviewers: ssijaric Subscribers: mcrosier, llvm-commits, aemerson Differential Revision: http://reviews.llvm.org/D13475 llvm-svn: 249523
* [X86] Emit .cfi_escape GNU_ARGS_SIZE when adjusting the stack before callsMichael Kuperstein2015-10-079-4/+257
| | | | | | | | | | | | When outgoing function arguments are passed using push instructions, and EH is enabled, we may need to indicate to the stack unwinder that the stack pointer was adjusted before the call. This should fix the exception handling issues in PR24792. Differential Revision: http://reviews.llvm.org/D13132 llvm-svn: 249522
* AVX512: Change encoding of vpshuflw and vpshufhw instructions. Implement WIG ↵Igor Breger2015-10-073-123/+363
| | | | | | | | | | as W0 and not W1, like all other instruction have been implemented. Add encoding tests. Differential Revision: http://reviews.llvm.org/D13471 llvm-svn: 249521
* Don't create dynamic relocations for weak undefined symbols.Rafael Espindola2015-10-072-1/+5
| | | | llvm-svn: 249520
* Make clang-format actually respect custom brace wrapping flags.Daniel Jasper2015-10-072-2/+15
| | | | | | This fixes llvm.org/PR25073. llvm-svn: 249519
* Skip entries handled by the dynamic linker.Rafael Espindola2015-10-072-10/+19
| | | | | | | We were writing got entries in the first positions, not in the positions corresponding to locally defined symbols. llvm-svn: 249518
* clang-format: Fix false ObjC block detection.Daniel Jasper2015-10-072-0/+7
| | | | | | | | | | | Before: inline A operator^(const A &lhs, const A &rhs) {} int i; After: inline A operator^(const A &lhs, const A &rhs) {} int i; llvm-svn: 249517
* builtins: fix buildSaleem Abdulrasool2015-10-071-1/+1
| | | | | | | __GNUC__ indicates the GNU compiler, not __GNU__. This got through due to building with clang rather than gcc. llvm-svn: 249516
* builtins: implement instrinics for clSaleem Abdulrasool2015-10-071-0/+28
| | | | | | | | | cl does not support the same intrinsics as clang. Provide implementations for the intrinsics using MSVC builtins. Patch by Tee Hao Wei! llvm-svn: 249515
* builtins: emulate _Complex for clSaleem Abdulrasool2015-10-077-54/+71
| | | | | | | | | cl does not support C99 completely as of VS2015. Emulate _Complex to allow building with MSVC. Patch by Tee Hao Wei! llvm-svn: 249514
* builtins: use MSVC intrinsics with clSaleem Abdulrasool2015-10-071-5/+52
| | | | | | | | Use MSVCRT functions for floating-point builtins unavailable on MSVC. Patch by Tee Hao Wei! llvm-svn: 249513
* Create linker generated symbols earlier.Rafael Espindola2015-10-073-17/+28
| | | | | | We were incorrectly deciding that a dynamic relocation was needed for them. llvm-svn: 249512
* [RS4GC] Remove an unnecessary assert & related variablesSanjoy Das2015-10-071-5/+0
| | | | | | | I don't think this assert adds much value, and removing it and related variables avoids an "unused variable" warning in release builds. llvm-svn: 249511
* [OperandBundles] Add an accessor to get an operand bundle by tagSanjoy Das2015-10-072-0/+33
| | | | | | | Not used at the moment, but will be used in a later change to RewriteStatepointsForGC. llvm-svn: 249510
* [OperandBundles] Remove a useless accessor from OperandBundleUserSanjoy Das2015-10-071-9/+0
| | | | | | | | Since the `const` version of `getOperandBundle` returns a value of the same type as the non-`const` version, the non-`const` version is redundant. llvm-svn: 249509
* [RS4GC] Cosmetic cleanup, NFCSanjoy Das2015-10-071-245/+211
| | | | | | | | | | | | | | | | | | | | Summary: A series of cosmetic cleanup changes to RewriteStatepointsForGC: - Rename variables to LLVM style - Remove some redundant asserts - Remove an unsued `Pass *` parameter - Remove unnecessary variables - Use C++11 idioms where applicable - Pass CallSite by value, not reference Reviewers: reames, swaroop.sridhar Subscribers: llvm-commits, sanjoy Differential Revision: http://reviews.llvm.org/D13370 llvm-svn: 249508
* Route the preferred-display-language mechanism to the ValueObjectPrinter and ↵Enrico Granata2015-10-0712-5/+82
| | | | | | actually fill in a few gaps for dynamic and synthetic values to be able to adopt this in useful ways llvm-svn: 249507
* Enable the StringPrinter to have prefixes that are strings instead of just a ↵Enrico Granata2015-10-075-29/+95
| | | | | | single character; and also introduce a comparable suffix mechanism llvm-svn: 249506
* Add missing % to t2.so.Rafael Espindola2015-10-071-2/+2
| | | | llvm-svn: 249505
* Remove the comdat-ness from the testcase as it won't lower properlyEric Christopher2015-10-071-3/+1
| | | | | | | on darwin with it since darwin doesn't have comdat and it isn't necessary for the testcase. llvm-svn: 249504
* Introduce a variant of GetSummaryAsCString() that takes a LanguageType ↵Enrico Granata2015-10-075-21/+34
| | | | | | | | argument, and use it when crafting summaries by running selectors This is the first in a series of commits that are meant to teach LLDB how to properly handle multi-language formatting of values llvm-svn: 249503
* clang-format: Understand array reference types.Daniel Jasper2015-10-072-1/+2
| | | | | | | | | | | | Before: void f(Type(&parameter)[10]) {} void f(Type (*parameter)[10]) {} After: void f(Type (&parameter)[10]) {} void f(Type (*parameter)[10]) {} llvm-svn: 249502
OpenPOWER on IntegriCloud