summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typoTobias Grosser2014-02-201-1/+1
| | | | llvm-svn: 201814
* cstdint is a C++11 header, LLVM provides its own version of it.Benjamin Kramer2014-02-201-1/+0
| | | | | | Some versions of libstdc++ forbid using cstdint in C++98 mode. llvm-svn: 201812
* [Support] Correctly handle zero length inputs to UTF conversion functions on ↵Michael J. Spencer2014-02-201-32/+30
| | | | | | Windows. llvm-svn: 201811
* Enable MSRecordLayout in the presence of external sources.Warren Hunt2014-02-201-1/+1
| | | | | | | | | External sources shouldn't prevent the layout engine from using MSLayout. If lldb were to support debugging in microsoft mode, some code will need to be added to MSRecordLayoutBuilder to handel external layouts. llvm-svn: 201810
* test_debuginfo.pl: Make failures easier to debug by printing the debuggerAdrian Prantl2014-02-201-0/+2
| | | | | | output. llvm-svn: 201809
* Add an environment variable to override the default profile output file.Bob Wilson2014-02-201-1/+4
| | | | | | | | Also rename the default output file from "pgo-data" to "default.profdata". The ".profdata" suffix is consistent with the name of the new llvm-profdata tool. llvm-svn: 201808
* Clarify comment.Adrian Prantl2014-02-201-1/+1
| | | | llvm-svn: 201807
* Relax testcases. LLDB starts counting at $0.Adrian Prantl2014-02-202-4/+4
| | | | llvm-svn: 201806
* Fix build breakage.Rui Ueyama2014-02-201-1/+2
| | | | llvm-svn: 201805
* Add TemplateSpecializationType polymorphism for hasTemplateArgument andPeter Collingbourne2014-02-204-15/+79
| | | | | | | | | | | hasAnyTemplateArgument, and (out of necessity) an isExpr matcher. Also updates the TemplateArgument doxygen to reflect reality for non-canonical template arguments. Differential Revision: http://llvm-reviews.chandlerc.com/D2810 llvm-svn: 201804
* Object/COFF: Fix possible truncation bug.Rui Ueyama2014-02-202-4/+7
| | | | | | | VA can be 64 bit, as the image base can be larger than 4GB, so we need to handle 64 bit VAs properly. llvm-svn: 201803
* On FreeBSD "x86_64" is spelled "amd64"Ed Maste2014-02-201-1/+4
| | | | llvm-svn: 201802
* add a comment.Adrian Prantl2014-02-201-0/+1
| | | | llvm-svn: 201801
* Revert "Remove dead option."Adrian Prantl2014-02-201-0/+4
| | | | | | | | Some tests in debuginfo-tests require the system-darwin feature. This reverts commit 179670. llvm-svn: 201800
* [CMake] Fix installation without CLANG_BUILD_EXAMPLESJordan Rose2014-02-201-0/+1
| | | | | | | | | | | | | | | | | | When CLANG_BUILD_EXAMPLES is not on we set the EXCLUDE_FROM_ALL directory property for the examples/ directory to tell CMake not to build them by default. The AddLLVM.cmake APIs are not aware of this and try to install targets that are not built. This does not cause an install-time error because CMake excludes the directory from the default installation. However, now that installation attaches targets to the LLVMExports export set CMake-based applications that find_package(LLVM) fail because the example plugin binary is not available. Tell the AddLLVM.cmake APIs to exclude the examples from installation by setting the EXCLUDE_FROM_ALL variable they check. Patch by Brad King! llvm-svn: 201799
* Remove unnecessary copy of array_lengthof.Benjamin Kramer2014-02-201-5/+2
| | | | llvm-svn: 201798
* AArch64: __va_list.__stack must be 8-byte alignedOliver Stannard2014-02-202-1/+45
| | | | | | | | The va_start macro for AArch64 must set va_list.__stack to the address following the last named argument on the stack, rounded up to an alignment of 8 bytes. llvm-svn: 201797
* Remove unused diagnostic.Benjamin Kramer2014-02-201-2/+0
| | | | llvm-svn: 201796
* Sema: Emit a warning for non-null terminated format strings and other ↵Benjamin Kramer2014-02-203-2/+35
| | | | | | | | pathological cases. PR18905. llvm-svn: 201795
* Fix typo.Rafael Espindola2014-02-201-1/+1
| | | | | | Patch by Stephan Falke. llvm-svn: 201794
* [AArch64] Add support for TargetTransformInfo Analysis.Chad Rosier2014-02-205-0/+131
| | | | llvm-svn: 201793
* [mips] Make it impossible to have UnknownABI in CodeGen and Integrated ↵Daniel Sanders2014-02-2012-32/+48
| | | | | | | | | | | | | | | | | | | | | | | | | Assembler. Summary: This removes the need to coerce UnknownABI to the default ABI (O32 for MIPS32, N64 for MIPS64 [*]) in both MipsSubtarget and MipsAsmParser. Clang has been updated to disable both possible default ABI's before enabling the ABI it intends to use. [*] N64 being the default for MIPS64 is not actually correct. However N32 is not fully implemented/tested yet. Depends on: D2830 Reviewers: jacksprat, matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D2832 Differential Revision: http://llvm-reviews.chandlerc.com/D2846 llvm-svn: 201792
* Remove really old "APPLE LOCAL" markers.Rafael Espindola2014-02-202-2/+1
| | | | llvm-svn: 201791
* Add example target description file for QEMU for x86-64.Hafiz Abid Qadeer2014-02-201-0/+352
| | | | llvm-svn: 201790
* Get rid of obsolete addProfileRT(), generalize the relevant ↵Alexey Samsonov2014-02-202-31/+24
| | | | | | addProfileRTLinux() to all OS llvm-svn: 201789
* OpenCL: fix for the restriction on pointers to functions.Pekka Jaaskelainen2014-02-205-9/+78
| | | | | | Patch from Anastasia Stulova! llvm-svn: 201788
* [CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target.NAKAMURA Takumi2014-02-202-1/+3
| | | | | | add_public_tablegen_target is used somewhere. llvm-svn: 201787
* [CMake] intrinsics_gen: Use add_public_tablegen_target().NAKAMURA Takumi2014-02-201-3/+1
| | | | llvm-svn: 201786
* [CMake] clang_tablegen(AttrSpellings.inc): Prune redundant DEPENDS.NAKAMURA Takumi2014-02-201-1/+1
| | | | llvm-svn: 201785
* AsmParser: Disable Darwin-style macro argument expansion on non-darwin targets.Benjamin Kramer2014-02-203-4/+16
| | | | | | There is code in the wild that relies on $0 not being expanded. llvm-svn: 201784
* [FreeBSD] Enable building a few runtime libraries on FreeBSD.Alexey Samsonov2014-02-201-2/+4
| | | | | | Patch by Viktor Kutuzov! llvm-svn: 201783
* [mips] Make mips64 the default CPU for the mips64 architectureDaniel Sanders2014-02-204-13/+32
| | | | | | | | | | | | | | | | | | | | Summary: This is consistent with the integrated assembler. All mips64 codegen tests previously passed -mcpu. Removed -mcpu from blez_bgez.ll and const-mult.ll to cover the default case. Ideally, the two implementations of selectMipsCPU() will be merged but it's proven difficult to find a home for the function that doesn't cause link errors. For now, we'll hoist the common functionality into a function and mark it with FIXME's. Reviewers: jacksprat, matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D2830 llvm-svn: 201782
* D2843 - [OPENMP] move all clauses to a separate headerAlexey Bataev2014-02-202-400/+425
| | | | llvm-svn: 201781
* [CMake] Introduce check-all command for standalone compiler-rt buildAlexey Samsonov2014-02-201-0/+11
| | | | llvm-svn: 201780
* Move config for sanitizer_common tests under test/ for consistencyAlexey Samsonov2014-02-204-12/+13
| | | | llvm-svn: 201779
* [CMake] break dependency between unit tests and runtimes in standalone buildAlexey Samsonov2014-02-205-15/+73
| | | | llvm-svn: 201778
* [msan] Remove stubs for non-instrumented code from msan interface header.Evgeniy Stepanov2014-02-201-24/+0
| | | | llvm-svn: 201777
* Unconditionally include msan_interface.h when building with MSan.Evgeniy Stepanov2014-02-203-11/+3
| | | | | | | Any version of Clang that does not provide this header is way too old to bootstrap with MSan. llvm-svn: 201776
* Revert r201734 and r201742.Daniel Jasper2014-02-209-122/+23
| | | | | | | | | | | | | | | | | | | | | This breaks backwards compatibility with existing code. Previously, this was defined as #define _mm_prefetch(a, sel) (__builtin_prefetch((void *)(a), 0, (sel))) Which basically accepts any pointer. Changing this to char* simply breaks a lot of existing code. I have tried changing char* to "const void*", which seems to be the right thing as per Intel specification this should work on basically any pointer. However, apparently this breaks windows compatibility (because of a conflicting declaration in windows.h). So, we probably need to #ifdef this based on whether clang is compiling for windows. According to Chandler, this might be done by introducing an additional symbol to a fake type in BuiltinsX86.def and then condition the type expansion on the platform. llvm-svn: 201775
* Revert r201772 as it breaks things on WindowsTimur Iskhodzhanov2014-02-202-2/+2
| | | | | | We should probably use different argument types on different platforms? llvm-svn: 201774
* Improve the handling of stop-reply packet when it does not containHafiz Abid Qadeer2014-02-201-0/+15
| | | | | | thread information. llvm-svn: 201773
* Change parameter type of _mm_prefetch to "const void *".Daniel Jasper2014-02-202-2/+2
| | | | | | | Otherwise, this is not backwards compatible to the existing macro and can break existing code. llvm-svn: 201772
* [CMake] lit tests shouldn't depend on runtimes in standalone buildAlexey Samsonov2014-02-206-24/+27
| | | | llvm-svn: 201771
* Added release note about making all inline assembly parsed (even for assemblyDaniel Sanders2014-02-201-0/+4
| | | | | | output) when the integrated assembler is enabled. llvm-svn: 201770
* COFFObjectFile.cpp: Appease msvc in r201760.NAKAMURA Takumi2014-02-201-1/+1
| | | | llvm-svn: 201769
* Don't actually emit output in test/Headers/mmprefetch.c.Daniel Jasper2014-02-201-1/+1
| | | | | | The test directory cannot assumed to be writable. llvm-svn: 201768
* [x86] Switch PAUSE instruction to use XS prefix instead of HasREPPrefix. ↵Craig Topper2014-02-204-5/+3
| | | | | | Remove HasREPPrefix support from disassembler table generator since its now only used by CodeGenOnly instructions. llvm-svn: 201767
* [asan] Changes to asm instrumentation must be done through the generator script.Evgeniy Stepanov2014-02-201-1/+1
| | | | llvm-svn: 201766
* [code-completion] Style guideline for Cocoa has custom accessor in property ↵Argyrios Kyrtzidis2014-02-202-8/+8
| | | | | | | | declarations without spaces around '='. rdar://16059171 llvm-svn: 201765
* [asan] Do all calls to __asan_report_* through PLT.Evgeniy Stepanov2014-02-201-20/+20
| | | | | | | | | | | | | This matters when runtime is built as a shared library. Even though calling code is itself part of the same library, these symbols are public and can (theoretically) be interposed. It might be better to declare hidden aliases for asan_report_* and call them directly, but (a) they are (noreturn), so performance does not matter, and (b) it may be potentially less portable. llvm-svn: 201764
OpenPOWER on IntegriCloud