summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Mangle the vbptr offset into pointers to member functionsReid Kleckner2014-04-072-6/+33
| | | | | | | | This can actually be non-zero if you override a function from a virtual base and you have forced the most_general pointer to member representation. llvm-svn: 205727
* Remove an unused file.Richard Smith2014-04-071-248/+0
| | | | | | | Using this file would result in an odr violation: it defines an llvm::Interval class that conflicts with the one in Analysis/Interval.h. llvm-svn: 205726
* When a CHECK-NEXT fails because there was no match on the next line, includeRichard Smith2014-04-071-2/+9
| | | | | | the non-matching next line in the diagnostic to make the problem more obvious. llvm-svn: 205725
* Use std::swapMatt Arsenault2014-04-071-3/+1
| | | | llvm-svn: 205723
* Use .data() instead of &x[0]Matt Arsenault2014-04-072-18/+21
| | | | llvm-svn: 205722
* [analyzer] Fix mistake in example for potential checker "posix.Errno".Jordan Rose2014-04-071-1/+1
| | | | | | Found by Richard Osbourne! llvm-svn: 205721
* [analyzer] Re-enable test I accidentally committed commented-out.Jordan Rose2014-04-071-5/+5
| | | | | | Thanks, Alex! llvm-svn: 205720
* Correct typo: waychpoint -> watchpointEd Maste2014-04-071-1/+1
| | | | llvm-svn: 205719
* Revert r205646 (keeping the test in its modified form) asFariborz Jahanian2014-04-072-12/+3
| | | | | | it is subsumed by r205521. llvm-svn: 205718
* Fix a typo introduced in r205716David Majnemer2014-04-071-3/+2
| | | | llvm-svn: 205717
* clang-cl: make /Gw map to -fdata-sectionsDavid Majnemer2014-04-074-9/+18
| | | | | | Note that /Gy no longer implies -fdata-sections. llvm-svn: 205716
* Fix clang-tidy warning (argument comments don't match parameter names).Richard Smith2014-04-072-5/+5
| | | | llvm-svn: 205715
* libclang: add clang_CXXMethod_isConst API that allows to determine if a C++Dmitri Gribenko2014-04-076-13/+54
| | | | | | | | member function or member function template is declared 'const' Patch by Kevin Funk with testcase updates by me. llvm-svn: 205714
* Invert the option to enable debug info verification. No functionalEric Christopher2014-04-071-8/+7
| | | | | | change outside of the command line to enable it. llvm-svn: 205713
* Add decorator for FreeBSD DynamicValueTestCase failureEd Maste2014-04-071-0/+1
| | | | | | | Not yet root-caused, but I presume it is the same issue that affects Linux. llvm-svn: 205712
* Revert the last couple of patches here and go back to somethingEric Christopher2014-04-071-1/+3
| | | | | | that at least failed reliably. llvm-svn: 205711
* Handle vlas during inline cost computation if they'll be turnedEric Christopher2014-04-072-1/+48
| | | | | | | | | | | into a constant size alloca by inlining. Ran a run over the testsuite, no results out of the noise, fixes the testcase in the PR. PR19115. llvm-svn: 205710
* Fix PR19819Marshall Clow2014-04-073-3/+45
| | | | llvm-svn: 205709
* XFAIL this completely at the moment:Eric Christopher2014-04-071-0/+1
| | | | | | | | | cygwin has llvm-dwarfdump problems and isn't paying attention to the specific xfail there. s390x isn't matching for an unknown reason. llvm-svn: 205708
* Fix a typo in the comment.Simon Atanasyan2014-04-071-1/+1
| | | | llvm-svn: 205707
* Add NDEBUG markers around debug only function.Eric Christopher2014-04-071-0/+4
| | | | llvm-svn: 205706
* Add debug location information to the vectorizer debug statements.Eric Christopher2014-04-071-5/+29
| | | | | | Patch by Zinovy Nis. llvm-svn: 205705
* Make test run on most platforms and only fail on cygwin/mingw whileEric Christopher2014-04-071-4/+1
| | | | | | it's being investigated for those. llvm-svn: 205704
* Update arc config to new domain.Manuel Klimek2014-04-071-1/+1
| | | | llvm-svn: 205703
* Update arc config to new domain.Manuel Klimek2014-04-071-1/+1
| | | | llvm-svn: 205702
* Make docs point to new domain.Manuel Klimek2014-04-071-3/+3
| | | | llvm-svn: 205701
* Removed 'sized deallocation' from C++14 status page since it turned out to ↵Marshall Clow2014-04-072-2/+1
| | | | | | require no library work, and fixed a typo in index.html. Thanks to Tobias for pointing these out. llvm-svn: 205700
* Use 'false' for a bool instead of '0'Craig Topper2014-04-071-1/+1
| | | | llvm-svn: 205699
* Update Phabricator server.Rui Ueyama2014-04-071-1/+1
| | | | llvm-svn: 205698
* [C++11] Make use of 'nullptr' in the Support library.Craig Topper2014-04-0775-328/+336
| | | | llvm-svn: 205697
* Updated phabricator server.Serge Pavlov2014-04-071-1/+1
| | | | llvm-svn: 205696
* Updated phabricator server.Serge Pavlov2014-04-071-1/+1
| | | | llvm-svn: 205695
* [ELF] Accept "-rpath=<foo>" as well as "-rpath <foo>".Rui Ueyama2014-04-062-2/+9
| | | | llvm-svn: 205694
* [ELF] Fix driver bug.Rui Ueyama2014-04-062-3/+40
| | | | | | | | GNU LD-comptaible driver wrongly requires a space after '=' for a few options such as "-init=<symbol>" or "-entry=<symbol>". This patch is to fix that bug and add a few tests for it. llvm-svn: 205693
* [ELF] Use typedefs to make class field declarations shorter.Simon Atanasyan2014-04-061-7/+4
| | | | | | No functional changes. llvm-svn: 205692
* DebugInfo: Support type alias templatesDavid Blaikie2014-04-063-4/+64
| | | | | | | | We already got the type alias correct (though I've included a test case here) since Clang represents that like any other typedef - but type alias templates weren't being handled. llvm-svn: 205691
* Changes in IntelJITEventListener - By Arch RobinsonElena Demikhovsky2014-04-062-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - take->release: LLVM has moved to C++11. MockWrapper became an instance of unique_ptr. - method symbol_iterator::increment disappeared recently, in this revision: r200442 | rafael | 2014-01-29 20:49:50 -0600 (Wed, 29 Jan 2014) | 9 lines Simplify the handling of iterators in ObjectFile. None of the object file formats reported error on iterator increment. In retrospect, that is not too surprising: no object format stores symbols or sections in a linked list or other structure that requires chasing pointers. As a consequence, all error checking can be done on begin() and end(). This reduces the text segment of bin/llvm-readobj in my machine from 521233 to 518526 bytes. My change mimics the change that the revision made to lib/DebugInfo/DWARFContext.cpp . - const_cast: Shut up a warning from gcc. I ran unittests/ExecutionEngine/JIT/Debug+Asserts/JITTests to make sure it worked. - Arch llvm-svn: 205689
* Quick fix: Triple::isOSMSVCRT() should be false for targeting cygwin.NAKAMURA Takumi2014-04-062-1/+24
| | | | | | | | It affected callee's stack pop in x86. It is one of devergences between cygwin and mingw since mingw-gcc-4.6. Added testcases to llvm/test/CodeGen/X86/win32_sret.ll for cygwin. llvm-svn: 205688
* [yaml2obj][ELF] Rename class SectionNameToIdxMap => NameToIdxMap. It canSimon Atanasyan2014-04-061-10/+10
| | | | | | | | be used for indexing not only section's names. No functional changes. llvm-svn: 205687
* DebugInfo: emit namespace aliases as named imported declarations instead of ↵David Blaikie2014-04-062-5/+5
| | | | | | | | named imported entities Apparently that's how DWARF4 suggests they be emitted. So let's do that. llvm-svn: 205686
* DebugInfo: Support namespace aliases as DW_TAG_imported_declaration instead ↵David Blaikie2014-04-063-33/+35
| | | | | | | | | | | | | | | | of DW_TAG_imported_module I really should read the spec more often (and test GCC more often too). I just assumed that namespace aliases would be the same as using directives, except with a name. But apparently that's not how the DWARF standards suggests they be implemented. DWARF4 provides an example and other non-normative text suggesting that namespace aliases be implemented by named imported declarations intsead of named imported modules. So be it. llvm-svn: 205685
* [Frontend] If the module file lock owner have died, try to get the lock ↵Argyrios Kyrtzidis2014-04-061-22/+33
| | | | | | again. Needs llvm r205683. llvm-svn: 205684
* [Support] Modify LockFileManager::waitForUnlock() to return info about how ↵Argyrios Kyrtzidis2014-04-062-7/+21
| | | | | | the lock was released. llvm-svn: 205683
* Remove unused parameterDavid Blaikie2014-04-052-9/+9
| | | | | | | | | | | Also update a few null pointers in this function to be consistent with new null pointers being added. Patch by Robert Matusewicz! Differential Revision: http://reviews.llvm.org/D3123 llvm-svn: 205682
* AsmParser: add a warning for compatibility parsingSaleem Abdulrasool2014-04-054-0/+19
| | | | | | | | | This adds a warning when linker_private or linker_private_weak is provided and we handle it in a compatible manner. Suggested by Chris Lattner! llvm-svn: 205681
* MachineInstr: introduce explicit_operands and implicit_operands rangesDavid Blaikie2014-04-053-7/+18
| | | | | | | Makes iteration over implicit and explicit machine operands more explicit (har har). Insipired by code review discussion for r205565. llvm-svn: 205680
* Remove unnecessary "inline" of inline defined member functionsDavid Blaikie2014-04-051-4/+4
| | | | | | | | | Member functions defined within a class definition are implicitly 'inline' for linkage purposes. Compilers might slightly favor inlining functions explicitly marked 'inline', but LLVM doesn't make a stylistic habit of doing this generally. llvm-svn: 205679
* ARM: consolidate MachO checks for ARM asm parserSaleem Abdulrasool2014-04-052-93/+42
| | | | | | | | | | | | | | | | | | | This consolidates the duplicated MachO checks in the directive parsing for various directives that are unsupported for Mach-O. The error message change is unimportant as this restores the behaviour to that prior to the addition of the new directive handling. Furthermore, use a more direct check for MachO targeting rather than an indirect feature check of the assembler. Also simplify the test execution command to avoid temporary files. Further more, perform the check in both object and assembly emission. Whether all non-applicable directives are handled is another question. .fnstart is marked as being unsupported, however, the complementary .fnend is not. The additional unwinding directives are also still honoured. This change does not change that, though, it would be good to validate and mark them as being unsupported if they are unsupported for the MachO emission. llvm-svn: 205678
* Simplify compression API by compressing into a SmallVector rather than a ↵David Blaikie2014-04-054-33/+23
| | | | | | | | MemoryBuffer This is the other half of r205676. llvm-svn: 205677
* Simplify compression API by decompressing into a SmallVector rather than a ↵David Blaikie2014-04-055-22/+18
| | | | | | | | | | | | MemoryBuffer This avoids an extra copy during decompression and avoids the use of MemoryBuffer which is a weirdly esoteric device that includes unrelated concepts like "file name" (its rather generic name is a bit misleading). Similar refactoring of zlib::compress coming up. llvm-svn: 205676
OpenPOWER on IntegriCloud