summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ASan] Remove %symbolize from lit tests: we now use external symbolizer ↵Alexey Samsonov2013-06-2845-132/+126
| | | | | | instead of python script llvm-svn: 185163
* R600: Add local memory support via LDSTom Stellard2013-06-2818-24/+336
| | | | | Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 185162
* R600: Add support for GROUP_BARRIER instructionTom Stellard2013-06-288-3/+88
| | | | | Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 185161
* R600: Add ALUInst bit to tablegen definitions v2Tom Stellard2013-06-284-4/+8
| | | | | | | | v2: - Remove functions left over from a previous rebase. Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 185160
* Fix a trivial typo, add a FIXME to have more test coverage for VTableBuilderTimur Iskhodzhanov2013-06-281-1/+3
| | | | llvm-svn: 185159
* ARM: ensure fixed-point conversions have sane typesTim Northover2013-06-283-5/+118
| | | | | | | | | | | We were generating intrinsics for NEON fixed-point conversions that didn't exist (e.g. float -> i16). There are two cases to consider: + iN is smaller than float. In this case we can do the conversion but need an extend or truncate as well. + iN is larger than float. In this case using the NEON conversion would be incorrect so we don't perform any combining. llvm-svn: 185158
* [lsan] Fix build again.Sergey Matveev2013-06-281-1/+1
| | | | llvm-svn: 185157
* [lsan] Fix build.Sergey Matveev2013-06-281-1/+1
| | | | llvm-svn: 185156
* ARM: Fix pseudo-instructions for SRS (Store Return State).Tilmann Scheller2013-06-283-24/+24
| | | | | | | | | | | | | The mapping between SRS pseudo-instructions and SRS native instructions was incorrect, the correct mapping is: srsfa -> srsib srsea -> srsia srsfd -> srsdb srsed -> srsda This fixes <rdar://problem/14214734>. llvm-svn: 185155
* llvm-symbolizer: don't leave dangling pointers after flushing ↵Alexey Samsonov2013-06-282-0/+5
| | | | | | LLVMSymbolizer. Add a destructor. llvm-svn: 185154
* [lsan] When verbosity > 1, always print suppressions and summary (even if no ↵Sergey Matveev2013-06-281-10/+12
| | | | | | | | leaks found). Also fix an output bug. llvm-svn: 185153
* [lsan] Add suppression support.Sergey Matveev2013-06-2811-13/+182
| | | | llvm-svn: 185152
* llvm-symbolizer: skip leading underscore in Mach-O symbol table entriesAlexey Samsonov2013-06-282-3/+6
| | | | llvm-svn: 185151
* [sanitizer] Disable all ptrace-related definitions on Android.Evgeniy Stepanov2013-06-282-3/+3
| | | | llvm-svn: 185150
* Use lexing mode based on FormatStyle.Standard.Alexander Kornienko2013-06-284-19/+31
| | | | | | | | | | | | | | | | | | | | | Summary: Some valid pre-C++11 constructs change meaning when lexed in C++11 mode, e.g. #define x(_a) printf("foo"_a); (example from http://llvm.org/bugs/show_bug.cgi?id=16342). "foo"_a is treated as a user-defined string literal when parsed in C++11 mode. In order to deal with this correctly, we need to set lexing mode according to which standard the code conforms to. We already have a configuration value for this (FormatStyle.Standard), which seems to be appropriate to use in this case as well. Reviewers: klimek CC: cfe-commits, gribozavr Differential Revision: http://llvm-reviews.chandlerc.com/D1028 llvm-svn: 185149
* [ASan] Migrate lit tests to external symbolizer from asan_symbolize.py scriptAlexey Samsonov2013-06-282-16/+7
| | | | llvm-svn: 185148
* Move sys/sysctl.h include after its dependency sys/types.hEd Maste2013-06-281-1/+1
| | | | llvm-svn: 185147
* Demangle names using pluggable internal symbolizer if possibleAlexey Samsonov2013-06-283-8/+34
| | | | llvm-svn: 185146
* [sanitizer] Fix an unfortunate typo and disable ptrace interception on Android.Evgeniy Stepanov2013-06-283-3/+3
| | | | llvm-svn: 185145
* Pass --default-arch flag to external symbolizer. Fix line lengths.Alexey Samsonov2013-06-282-3/+13
| | | | llvm-svn: 185144
* llvm-symbolizer: make name demangling a public static method of LLVMSymbolizerAlexey Samsonov2013-06-282-9/+11
| | | | llvm-svn: 185143
* [sanitizer] Intercept ptrace.Evgeniy Stepanov2013-06-2810-8/+191
| | | | llvm-svn: 185142
* Improve comment.Rafael Espindola2013-06-281-4/+3
| | | | llvm-svn: 185141
* [ASan][OSX] Make sure the zones created by malloc_create_zone() are ↵Alexander Potapenko2013-06-282-0/+24
| | | | | | | | write-protected. Add a test. llvm-svn: 185140
* Make a switch in createBinary fully-covered. Add forgotten ↵Alexey Samsonov2013-06-281-2/+7
| | | | | | macho_dsym_companion case. llvm-svn: 185139
* [ASan][OSX] Fix the incorrect malloc_create_zone() implementation that led ↵Alexander Potapenko2013-06-282-1/+55
| | | | | | | | | to out-of-bounds mprotect()s (https://code.google.com/p/address-sanitizer/issues/detail?id=203) Add a test. llvm-svn: 185138
* llvm-symbolizer: add support for Mach-O universal binariesAlexey Samsonov2013-06-287-44/+143
| | | | llvm-svn: 185137
* Suppress GCC "control reaches end of non-void function" warning.Patrik Hagglund2013-06-281-0/+1
| | | | llvm-svn: 185136
* Debug Info: clean up usage of Verify.Manman Ren2013-06-2817-35/+78
| | | | | | | | | | | No functionality change. It should suffice to check the type of a debug info metadata, instead of calling Verify. For cases where we know the type of a DI metadata, use assert. Also update testing cases to make them conform to the format of DI classes. llvm-svn: 185135
* Add include guard.Rui Ueyama2013-06-281-0/+5
| | | | llvm-svn: 185134
* [PECOFF][Writer] Support DIR32NB and REL32 relocation types.Rui Ueyama2013-06-285-13/+28
| | | | llvm-svn: 185133
* Lazily deserialize function template specializations. This fixes a cycle inRichard Smith2013-06-284-15/+55
| | | | | | module deserialization / merging, and more laziness here is general goodness. llvm-svn: 185132
* Integrate Assembler: Support X86_64_DTPOFF64 relocationsDavid Blaikie2013-06-282-2/+14
| | | | llvm-svn: 185131
* [PECOFF][Writer] Fix a bug that the contents of .data and .rdata were swapped.Rui Ueyama2013-06-283-10/+9
| | | | llvm-svn: 185130
* [PECOFF][Writer] Skip ".debug$S" section in the input object file.Rui Ueyama2013-06-283-5/+12
| | | | llvm-svn: 185129
* [PECOFF][Writer] Use a constant instead of a magic number.Rui Ueyama2013-06-281-2/+2
| | | | llvm-svn: 185128
* Update for llvm::sys::fs::unique_file not creating directories.Rafael Espindola2013-06-282-14/+22
| | | | llvm-svn: 185127
* Improvements to unique_file and createUniqueDirectory.Rafael Espindola2013-06-283-241/+235
| | | | | | | | | | | | | | | | | | | * Don't try to create parent directories in unique_file. It had two problem: * It violates the contract that it is atomic. If the directory creation success and the file creation fails, we would return an error but the file system was modified. * When creating a temporary file clang would have to first check if the parent directory existed or not to avoid creating one when it was not supposed to. * More efficient implementations of createUniqueDirectory and the unique_file that produces only the file name. Now all 3 just call into a static function passing what they want (name, file or directory). Clang also has to be updated, so tests might fail if a bot picks up this commit and not the corresponding clang one. llvm-svn: 185126
* [PECOFF][Writer] Templatize connectAtomsWithLayoutEdge()Rui Ueyama2013-06-283-51/+38
| | | | | | | Templatize connectAtomsWithLayoutEdge() so that it can handle other types of defined atoms. llvm-svn: 185125
* Convert tests to FileCheckMatt Arsenault2013-06-284-7/+14
| | | | llvm-svn: 185124
* Don't ask for a mode when we are not keeping the file.Rafael Espindola2013-06-282-4/+3
| | | | llvm-svn: 185123
* LoopVectorize: Preserve debug location infoArnold Schwaighofer2013-06-282-1/+166
| | | | | | radar://14169017 llvm-svn: 185122
* Fix using arg_end() - arg_begin() instead of arg_size()Matt Arsenault2013-06-281-3/+3
| | | | llvm-svn: 185121
* Fix typoMatt Arsenault2013-06-281-1/+1
| | | | llvm-svn: 185120
* Delete dead code.Eli Friedman2013-06-282-40/+16
| | | | llvm-svn: 185119
* Switch Decl instantiation to DeclNodes.inc.Eli Friedman2013-06-272-56/+71
| | | | | | | | | This replaces a long list of declarations for visitor functions with a list generated from DeclNodes.inc. Nothing really interesting came out of it; we had comprehensive coverage anyway (excluding FriendTemplateDecls). llvm-svn: 185118
* Fix nested lifetime extension when a std::initializer_list member isRichard Smith2013-06-272-3/+41
| | | | | | initialized during aggregate initialization of the surrounding structure. llvm-svn: 185117
* Use the zero-argument DIBuilder::createNullPtrType in Clang.Peter Collingbourne2013-06-272-3/+2
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1051 llvm-svn: 185115
* Rename DIBuilder::createNullPtrType to createUnspecifiedType and introducePeter Collingbourne2013-06-272-6/+14
| | | | | | | | | a zero-argument createNullPtrType function for creating the canonical nullptr type. Differential Revision: http://llvm-reviews.chandlerc.com/D1050 llvm-svn: 185114
* At the request of Richard Smith, swapped the order of cold/builtin so it is ↵Michael Gottesman2013-06-271-5/+5
| | | | | | in alphabetical order. llvm-svn: 185113
OpenPOWER on IntegriCloud