summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Automate attribute language option checking by specifying the list of ↵Aaron Ballman2013-12-025-157/+140
| | | | | | options to test in tablegen. llvm-svn: 196138
* ClangFormatPackage.cs: fix inconsistent line endingsHans Wennborg2013-12-021-1/+1
| | | | llvm-svn: 196131
* DebugInfo: Type Units: Propagate the correct DW_AT_language into type units.David Blaikie2013-12-024-7/+35
| | | | llvm-svn: 196130
* Conservative fix for PR17827 - don't optimize a shift + and + compare ↵Kay Tiong Khoo2013-12-022-4/+86
| | | | | | sequence where the shift is logical unless the comparison is unsigned llvm-svn: 196129
* Request for review: Fix build-llvm.plJean-Daniel Dupas2013-12-021-3/+1
| | | | | | | | | | | | Summary: - Stop to try to rebuild llvm on each invocation by removing the invalid library entry libLLVMArchive.a which no longer exists. - Remove the useless ranlib invocation. "libtools -static" automatically takes care of the archive table of content. CC: lldb-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2296 llvm-svn: 196128
* Found two identical files named 'allocators.h' in the libcxx test suite. ↵Marshall Clow2013-12-0230-202/+28
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196127
* Factored attribute mutual exclusion code into a helper function; split the ↵Aaron Ballman2013-12-021-35/+37
| | | | | | cf_audited_transfer and cf_unknown_transfer attributes into separate helper methods for simplicity. No functional changes intended. llvm-svn: 196126
* elf: Move elf note parsing to ObjectFileELF.cppEd Maste2013-12-023-90/+76
| | | | | | | | | Separate ELF note implementations were introduced for core files and GNU build-id. Move the more general one from elf-core to ObjectFileELF and use it for build-id as well. Review: http://llvm-reviews.chandlerc.com/D1902 llvm-svn: 196125
* clang-format vs plugin: use Alp's suggestion for getting the pathHans Wennborg2013-12-021-2/+2
| | | | llvm-svn: 196124
* Fix a typo in a comment: expasion -> expansionJames Dennett2013-12-021-1/+1
| | | | llvm-svn: 196123
* clang-format vs plugin: bake clang-format.exe into the vsixHans Wennborg2013-12-023-1/+11
| | | | | | | | | | | This makes the clang-format plugin self-contained. Instead of requiring clang-format.exe to be available on the PATH, this includes it in the plugin's installer (.vsix file) and runs it from the install directory. Differential Revision: http://llvm-reviews.chandlerc.com/D2281 llvm-svn: 196122
* R600: Workaround for cayman loop bugVincent Lejeune2013-12-023-0/+46
| | | | llvm-svn: 196121
* Re-enabled support for the Subjects for the weak attribute. This changes the ↵Aaron Ballman2013-12-026-24/+16
| | | | | | diagnostic involved to be more accurate -- for C++ code, it will now report that weak applies to variables, functions or classes. Added additional test case for this. llvm-svn: 196120
* Rewriter: Output RewriteRope contents efficientlyAlp Toker2013-12-022-3/+11
| | | | | | | | | This avoids allocation of temporary std::strings for file contents, instead writing chunks directly to the output stream. The old character-based B-tree iterator remains intact for the time being. llvm-svn: 196119
* Found two identical files named 'DefaultOnly.h' in the libcxx test suite. ↵Marshall Clow2013-12-0225-49/+23
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196118
* Move getSymbolWithGlobalValueBase to TargetLoweringObjectFile.Rafael Espindola2013-12-028-27/+27
| | | | | | This allows it to be used in TargetLoweringObjectFileImpl.cpp. llvm-svn: 196117
* The __w64 attribute handler was more generically named, but only applied to ↵Aaron Ballman2013-12-021-8/+4
| | | | | | __w64 specifically. Renamed and removed some unused code. No functional change intended. llvm-svn: 196116
* Assume ARMv6 for NetBSD for now for strex/ldrex.Joerg Sonnenberger2013-12-021-0/+1
| | | | llvm-svn: 196115
* NetBSD uses long derived size_t / ssize_t in all ARM ABIs.Joerg Sonnenberger2013-12-021-2/+4
| | | | llvm-svn: 196114
* Introduce poor man's consumeToken() in X86AsmParserAlp Toker2013-12-021-18/+13
| | | | | | | | This makes the code a little more idiomatic. No change in behaviour. llvm-svn: 196113
* [sanitizer] Allow InternalMmapVector construction with zero capacity.Sergey Matveev2013-12-021-2/+1
| | | | llvm-svn: 196112
* Remove dead code.Rafael Espindola2013-12-028-83/+0
| | | | | | | | | MO_JumpTableIndex and MO_ExternalSymbol don't show up on inline asm. Keeping parts of the old asm printer just to print inline asm to a string that we then parse back looks like a hack. llvm-svn: 196111
* The FieldDecl is already covered by the ValueDecl case, so it is being removed.Aaron Ballman2013-12-021-2/+0
| | | | llvm-svn: 196110
* Adapt the code to the interface change in r196108.Alexander Kornienko2013-12-021-1/+1
| | | | llvm-svn: 196109
* Added an option to specify fallback style.Alexander Kornienko2013-12-024-16/+29
| | | | | | | | | | | | | | | | Summary: Added -fallback-style option. Changed clang-format to stop searching for .clang-format when an invalid file is found. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2292 llvm-svn: 196108
* Switching the ibaction attribute handler to the generalized handler. No ↵Aaron Ballman2013-12-021-6/+2
| | | | | | functional change intended. llvm-svn: 196107
* Add tests for profile sample file parsing.Diego Novillo2013-12-026-0/+45
| | | | | | | The profile file parser needed some tests for its parsing actions. This adds tests for each of the error messages emitted by the parser. llvm-svn: 196106
* Replacing custom subject application logic with table-generated logic. ↵Aaron Ballman2013-12-022-59/+17
| | | | | | Affects: guarded_var, pt_guarded_var, guarded_by, pt_guarded_by, acquired_after and acquired_before. No functional change intended. llvm-svn: 196105
* Output .eh_frames on COFF too now that the integrated as is used on mingw.Rafael Espindola2013-12-022-0/+15
| | | | llvm-svn: 196104
* Using the proper set key when determining whether a SubsetSubject helper ↵Aaron Ballman2013-12-021-2/+3
| | | | | | method has been previously generated. llvm-svn: 196103
* ARM: decide whether to use movw/movt based on "minsize" attribute.Tim Northover2013-12-029-14/+49
| | | | llvm-svn: 196102
* test: Decorators for pr17910Ed Maste2013-12-022-14/+14
| | | | | | | | | | | | A number of tests fail to build on FreeBSD because the test build script defaults to libstdc++ for clang. On FreeBSD the libstdc++ is rather old and libc++ should be used instead. (These tests previously had an @expectedFailureFreeBSD decorator for pr16696, the umbrella PR for the lack of threaded inferior support on FreeBSD. The work to add that support will be committed soon.) llvm-svn: 196101
* Cut the gold plugin README down to sizeAlp Toker2013-12-021-14/+6
| | | | | | | This file hasn't been updated in years. Remove old information and point to the current documentation at GoldPlugin.rst. llvm-svn: 196100
* Fix dominator descendants for unreachable blocks.Diego Novillo2013-12-022-1/+30
| | | | | | | | | | | | | When a block is unreachable, asking its dom tree descendants should return the empty set. However, the computation of the descendants was causing a segmentation fault because the dom tree node we get from the basic block is initially NULL. Fixed by adding a test for a valid dom tree node before we iterate. The patch also adds some unit tests to the existing dom tree tests. llvm-svn: 196099
* [sanitizer] Intercept textdomain.Evgeniy Stepanov2013-12-025-0/+32
| | | | | | Patch by Alexander Taran. llvm-svn: 196098
* [asan] disable AddressSanitizer.HugeMallocTest if ASAN_AVOID_EXPENSIVE_TESTS ↵Kostya Serebryany2013-12-021-1/+1
| | | | | | is set llvm-svn: 196097
* Driver: Factor gold support out into a functionAlp Toker2013-12-021-39/+22
| | | | | | | | | AddGoldPlugin() is the same on gnutools and freebsd so avoid the copy-and-paste duplicate code. No change in functionality. llvm-svn: 196096
* [PM] [cleanup] Rearrange the public and private sections of this classChandler Carruth2013-12-021-19/+38
| | | | | | | | | | | | to be a bit more sensible. The public interface now is first followed by the implementation details. This also resolves a FIXME to make something private -- it was already possible as the one special caller was already a friend. No functionality changed. llvm-svn: 196095
* XCoreFrameLowering.cpp: Use [in,out] instead of [in] [out]. [-Wdocumentation]NAKAMURA Takumi2013-12-021-2/+2
| | | | llvm-svn: 196094
* [CMake] add_lit_target: Tests should be excluded from "Build Solution".NAKAMURA Takumi2013-12-021-0/+3
| | | | llvm-svn: 196093
* [PECOFF] Make /subsystem option parser a separate function.Rui Ueyama2013-12-021-18/+29
| | | | llvm-svn: 196092
* XCore target: Make handling of large frames not dependent upon an FP.Robert Lytton2013-12-029-216/+409
| | | | | | | | | | | | eliminateFrameIndex() has been reworked to handle both small & large frames with either a FP or SP. An additional Slot is required for Scavenging spills when not using FP for large frames. Reworked the handling of Register Scavenging. Whether we are using an FP or not, whether it is a large frame or not, and whether we are using a large code model or not are now independent. llvm-svn: 196091
* ARM: add pseudo-instructions for lit-pool global materialisationTim Northover2013-12-029-81/+179
| | | | | | | | | | | | These are used by MachO only at the moment, and (much like the existing MOVW/MOVT set) work around the fact that the labels used in the actual instructions often contain PC-dependent components, which means that repeatedly materialising the same global can't be CSEed. With small modifications, it could be adapted to how ELF finds the address of _GLOBAL_OFFSET_TABLE_, which would give similar benefits in PIC mode there. llvm-svn: 196090
* XCore: Unbreak C++11 build.Benjamin Kramer2013-12-021-3/+3
| | | | llvm-svn: 196089
* XCore target: fix large code model 'select' indirect address handling.Robert Lytton2013-12-022-6/+36
| | | | llvm-svn: 196088
* XCore target: Add large code modelRobert Lytton2013-12-026-29/+239
| | | | | | | | | | | | | | | | When using large code model: Global objects larger than 'CodeModelLargeSize' bytes are placed in sections named with a trailing ".large" The folded global address of such objects are lowered into the const pool. During inspection it was noted that LowerConstantPool() was using a default offset of zero. A fix was made, but due to only offsets of zero being generated, testing only verifies the change is not detrimental. Correct the flags emitted for explicitly specified sections. We assume the size of the object queried by getSectionForConstant() is never greater than CodeModelLargeSize. To handle greater than CodeModelLargeSize, changes to AsmPrinter would be required. llvm-svn: 196087
* XCore target: extend tests in preparationRobert Lytton2013-12-021-0/+66
| | | | llvm-svn: 196086
* XCore target: Fix eliminateFrameIndex() to handle large framesRobert Lytton2013-12-022-7/+60
| | | | | | | | Large frame offsets are loaded from the ConstantPool. Where possible, offsets are encoded using the smaller MKMSK instruction. Large frame offsets can only be used when there is a frame-pointer. llvm-svn: 196085
* XCore target: Enable frames larger than 65535 to be loweredRobert Lytton2013-12-022-138/+302
| | | | llvm-svn: 196084
* Remove an empty directory left after r194304, which incompletely reverted ↵Alexander Kornienko2013-12-020-0/+0
| | | | | | r194218 llvm-svn: 196081
OpenPOWER on IntegriCloud