summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Be more strict about not calling setAlignment on global aliases.Rafael Espindola2014-05-062-6/+15
| | | | | | | The fact that GlobalAlias::setAlignment exists at all is a side effect of how the classes are organized, it should never be used. llvm-svn: 208094
* clang-format: [JS] Keep space after closure style comments.Daniel Jasper2014-05-062-2/+6
| | | | | | | | | | Before: var x = /** @type {foo} */ (bar); After: var x = /** @type {foo} */(bar); llvm-svn: 208093
* [asan] introduce interface function __sanitizer_verify_contiguous_container ↵Kostya Serebryany2014-05-064-7/+50
| | | | | | to verify annotations in vector-like containers llvm-svn: 208092
* AArch64/ARM64: implement diagnosis of unpredictable loads & storesTim Northover2014-05-063-21/+70
| | | | llvm-svn: 208091
* clang-format: [JS] Keep space between 'return' and '['.Daniel Jasper2014-05-062-3/+8
| | | | llvm-svn: 208090
* [sanitizer] Print addresses in hexadecimal.Evgeniy Stepanov2014-05-061-2/+2
| | | | llvm-svn: 208089
* clang-format: [JS] Don't indent in goog.scope blocks.Daniel Jasper2014-05-062-2/+27
| | | | | | | | | | | | | | | | Before: goog.scope(function() { var x = a.b; var y = c.d; }); // goog.scope After: goog.scope(function() { var x = a.b; var y = c.d; }); // goog.scope llvm-svn: 208088
* [OPENMP] Another one fix for codegen test '#pragma omp parallel'Alexey Bataev2014-05-061-1/+1
| | | | llvm-svn: 208087
* [OPENMP] Fixed test for '#pragma omp parallel' codegenAlexey Bataev2014-05-061-48/+46
| | | | llvm-svn: 208086
* AArch64/ARM64: add two more MC tests to ARM64 set.Tim Northover2014-05-062-0/+4
| | | | llvm-svn: 208085
* AArch64/ARM64: enable MC-level diagnostic tests for NEON insts.Tim Northover2014-05-062-392/+663
| | | | | | | | | Obviously we can't expect the two backends to produce identical diagnostics, since what's possible depends quite a bit on how the .td files are structured. I think the ARM64 diagnostics are basically of the same quality in all the changed cases, so I've split the CHECK lines. llvm-svn: 208084
* AArch64/ARM64: make NEON vector list parsing a bit more robustTim Northover2014-05-062-3/+6
| | | | | | | It doesn't change the results, but it seems silly not to diagnose obvious problems early on. llvm-svn: 208083
* AArch64/ARM64: add more specific diagnostic for floating imm 0.0.Tim Northover2014-05-061-4/+5
| | | | llvm-svn: 208082
* AArch64/ARM64: add more specific diagnostic for invalid vector lanesTim Northover2014-05-062-4/+21
| | | | llvm-svn: 208081
* Fixed one issue with castingDinesh Dwivedi2014-05-062-2/+5
| | | | | | | | | | | | Before: (void) SimplifyICmpOperands(Cond, LHS, RHS); After: (void)SimplifyICmpOperands(Cond, LHS, RHS); Differential Revision: http://reviews.llvm.org/D3615 llvm-svn: 208080
* AArch64/ARM64: produce more informative diagnostic assembling some immediatesTim Northover2014-05-064-50/+56
| | | | | | | No tests here, they'll be added when the entire neon-diagnostics.s test from AArch64 is enabled. llvm-svn: 208079
* [OPENMP] Temporary disable test for parallel codegenAlexey Bataev2014-05-061-1/+2
| | | | llvm-svn: 208078
* [OPENMP] Initial codegen for '#pragma omp parallel'Alexey Bataev2014-05-0619-38/+762
| | | | llvm-svn: 208077
* ARM: For thumb fixups store halfwords high first and low secondChristian Pirker2014-05-062-37/+58
| | | | llvm-svn: 208076
* [PATCH] [ARM64] Enable alignment control option in front-end for ARM64.Kevin Qin2014-05-063-14/+45
| | | | | | | This patch is to get "-mno-unaligned-access" and "-munaligned-access" work in front-end for ARM64 target. llvm-svn: 208075
* [ARM64] Enable alignment control option in front-end for ARM64.Kevin Qin2014-05-062-4/+16
| | | | | | This is the modification in llvm part. llvm-svn: 208074
* Disable -Wcomment when building with GCC.Evgeniy Stepanov2014-05-062-11/+22
| | | | | | | | GCC version of -Wcomment is not compatible with ascii art graph diagrams. Reverts r207629. llvm-svn: 208073
* XCore target: fix initialization bug found by MSan Bot.Robert Lytton2014-05-061-0/+1
| | | | llvm-svn: 208072
* Pulled out cast detection in TokenAnnotator into its own functionDinesh Dwivedi2014-05-061-58/+58
| | | | | | | | This is to remove FIXME added in r207964. Differential Revision: http://reviews.llvm.org/D3619 llvm-svn: 208071
* [ASan/Win] Don't crash when ASAN_OPTIONS have disable_core=1Timur Iskhodzhanov2014-05-062-2/+3
| | | | | | Reviewed at http://reviews.llvm.org/D3610 llvm-svn: 208070
* [msan] Fix print_shadow test.Evgeniy Stepanov2014-05-061-2/+2
| | | | llvm-svn: 208069
* Fix a crash when diagnostic points to a macro definition on command line.Alexander Kornienko2014-05-062-1/+8
| | | | | | | | | | | | Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3620 llvm-svn: 208068
* Update programmers manual to cover llvm::function_ref, and add a note to theRichard Smith2014-05-062-0/+74
| | | | | | coding standard suggesting using it instead of the (unavailable) std::function. llvm-svn: 208067
* [sanitizer] fix build with glibc 2.4, patch by Sandra LoosemoreKostya Serebryany2014-05-061-1/+6
| | | | llvm-svn: 208066
* DebugInfo: Emit the definition of enums when the definition preceeds the ↵David Blaikie2014-05-065-1/+87
| | | | | | | | | | | | declaration and initial use. This regressed a little further 208055 though it was already a little broken. While the requiresCompleteType optimization should be implemented here. Future (possibly near future) work. llvm-svn: 208065
* Use X86 memory operand enums instead of hardcoding.Craig Topper2014-05-061-16/+20
| | | | llvm-svn: 208064
* [C++11] Use 'nullptr'Craig Topper2014-05-06145-1052/+1118
| | | | llvm-svn: 208063
* Fix crash when one overload candidate is a template instead of a function. ↵Nick Lewycky2014-05-061-0/+1
| | | | | | | | | | Patch by Kaelyn Takata. Testcase coming out of creduce will land in a separate commit shortly. Also, it appears that this callback is used even in a SFINAE context where the results are never displayed. llvm-svn: 208062
* gdbremote testing: added regex support to match packets and propagate/test ↵Todd Fiala2014-05-063-49/+238
| | | | | | | | | | | against previously stored matches. Added a test validating that $qC after an inferior launch via $A returns a thread id that an immediately followig $? reports for the active thread. This is currently skipped on debugserver (the thread ids don't match) and isn't yet implemented in TOT for llgs. llvm-svn: 208061
* [OPENMP] 'proc_bind' clause support - Parsing and sema analysis for OpenMP ↵Alexey Bataev2014-05-0617-14/+249
| | | | | | clause 'proc_bind' llvm-svn: 208060
* Fix some obvious Doxygen comment bugs.Owen Anderson2014-05-061-3/+4
| | | | llvm-svn: 208059
* Change ProcessGDBRemote::DoReadMemory to use the x packet to readJason Molenda2014-05-063-4/+167
| | | | | | | | | | | | | | | | data if it is available. Change ProcessGDBRemote's maximum read/write packet size from a fixed 512 byte value to asking the remote gdb stub what its maximum is, using up to 128kbyte sizes if that's allowed, and falling back to 512 if the remote gdb stub doesn't advertise a max packet size. Add a new "process plugin packet xfer-size" command that can be used to override the maximum packet size (although not exceeding any packet size maximum published by the remote gdb stub). <rdar://problem/16032150> llvm-svn: 208058
* Update comment from a recent commit.David Blaikie2014-05-061-3/+3
| | | | llvm-svn: 208057
* [Build] Add rule to generate fully-expanded .td fileAdam Nemet2014-05-061-1/+7
| | | | | | | | I found it useful in the past and now again to have a version of the .td file where all the records are expanded. This adds a makefile rule to generate this on demand. llvm-svn: 208056
* PR19598: Ensure temporary metadata nodes used in debug info are destroyed.David Blaikie2014-05-062-40/+34
| | | | | | | | | | | | | | | | | | | CGDebugInfo and DIBuilder were lax in their handling of temporary MDNodes. All temporary nodes need to be deleted, which means they need to be RAUW'd with a permanent node. This was not happening. To ensure this, leverage DIBuilder's new ability to create both permanent and temporary declarations. Ensure all temporary declarations are RAUW'd, even with itself. (DIDescriptor::RAUW handles the case where it is replaced with itself and creates a new, duplicate permanent node to replace itself with) This means that all temporary declarations must be added to the ReplacementMap even if they're never upgraded to definitions - so move the point of insertion into the map to the point of creation of the declarations. llvm-svn: 208055
* PR19598: Provide the ability to RAUW a declaration with itself, creating a ↵David Blaikie2014-05-064-22/+61
| | | | | | | | | | | | | non-temporary copy and using that to RAUW. Also, provide the ability to create temporary and non-temporary declarations, as not all declarations may be replaced by definitions later on. This provides the necessary infrastructure for Clang to fix PR19598, leaking temporary MDNodes in Clang's debug info generation. llvm-svn: 208054
* Support field references to struct names and c++11 aliases from inline asm.Nico Weber2014-05-062-2/+34
| | | | | | This is in addition to the existing support for typedefs. llvm-svn: 208053
* Add GetxPacketSupported to test if the 'x' packet is supported.Jason Molenda2014-05-062-0/+24
| | | | | | <rdar://problem/16032150> llvm-svn: 208052
* Add a simple qSupported packet, fix a bug in decode_binary_data(), Jason Molenda2014-05-063-8/+141
| | | | | | | | add a new 'x' packet for reading data in binary format. Document the 'x' packet. <rdar://problem/16032150> llvm-svn: 208051
* Revert "Walk back commits for unused function parameters - they're still being"Eric Christopher2014-05-062-20/+6
| | | | | | this reapplies 208012 and 208002. llvm-svn: 208037
* blockfreq: Move include to .cppDuncan P. N. Exon Smith2014-05-062-1/+1
| | | | llvm-svn: 208035
* Revert accidentally-committed files.Richard Smith2014-05-062-74/+0
| | | | llvm-svn: 208034
* Re-commit r208025, reverted in r208030, with a fix for a conformance issueRichard Smith2014-05-069-46/+227
| | | | | | which GCC detects and Clang does not! llvm-svn: 208033
* Revert r208025, which made buildbots unhappy for unknown reasons.Richard Smith2014-05-067-153/+46
| | | | llvm-svn: 208030
* Fix i128 div/mod on mingw64Reid Kleckner2014-05-063-0/+98
| | | | | | | | | | The Win64 docs are very clear that anything larger than 8 bytes is passed by reference, and GCC MinGW64 honors that for __modti3 and friends. Patch by Jameson Nash! llvm-svn: 208029
OpenPOWER on IntegriCloud