summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Check that the elements of an array have the same sizeTobias Grosser2014-09-134-3/+119
| | | | | | | | | | At the moment we assume that only elements of identical size are stored/loaded to a certain base pointer. This patch adds logic to the scop detection to verify this. Differential Revision: http://reviews.llvm.org/D5329 llvm-svn: 217727
* Simplify code. No functionality change.Benjamin Kramer2014-09-131-15/+3
| | | | llvm-svn: 217726
* [AArch64] Update test case to pass with post-RA MI scheduler.Chad Rosier2014-09-131-1/+1
| | | | | | | | Check that the post RA scheduler is being skipped, regardless of whether it's the top-down list latency scheduler or the post-RA MI scheduler. llvm-svn: 217725
* [llvm-objdump] Use PRIX64 with format()Nick Kledzik2014-09-131-1/+2
| | | | llvm-svn: 217724
* Nope, I was right originally. ResolveUsername should resolve "~" to the Jim Ingham2014-09-121-2/+3
| | | | | | | current user, and ResolvePartialUsername will resolve "~" to the list of users. llvm-svn: 217723
* Don't make paths with /Foo//bar, that confuses everybody down the line.Jim Ingham2014-09-121-1/+10
| | | | | | This gets the file completer for absolute paths working again. llvm-svn: 217722
* Fix incorrect initializer list style.Zachary Turner2014-09-121-13/+13
| | | | llvm-svn: 217721
* Revert 217719, that wasn't the right fix, that should complete user names, andJim Ingham2014-09-121-2/+2
| | | | | | | anyway /Vol doesn't complete correctly either. Somehow we're chopping the names up incorrectly before passing them into the completer. llvm-svn: 217720
* ResolveUsername should resolve "~" to the user's home directory as well as ↵Jim Ingham2014-09-121-2/+2
| | | | | | | | "~/". This gets command-line file completion from ~ working again. llvm-svn: 217719
* std::function is a better choice than a raw function pointer here. You ↵Enrico Granata2014-09-121-2/+3
| | | | | | probably still want to be careful about cleaning up stuff you captured, but it's not like a function pointer wasn't going to let you shoot yourself in the foot given enough dedication. llvm-svn: 217718
* llgs: fix thread names broken by recent native thread changes.Todd Fiala2014-09-125-12/+44
| | | | | | | | * Fixes the local stack variable return pointer usage in NativeThreadLinux::GetName(). * Changes NativeThreadProtocol::GetName() to return a std::string. * Adds a unit test to verify thread names don't regress in the future. Currently only run on Linux since I know default thread names there. llvm-svn: 217717
* Check delegating constructors for using uninitialized fields.Richard Trieu2014-09-122-0/+18
| | | | llvm-svn: 217716
* Stop suppress error messages in test case to see why one buildbot is failingNick Kledzik2014-09-121-1/+1
| | | | llvm-svn: 217715
* Make ProcessLaunchInfo copyable.Zachary Turner2014-09-122-18/+18
| | | | llvm-svn: 217714
* tsan: use growable vector for atexit callbacksDmitry Vyukov2014-09-121-10/+6
| | | | | | Most real programs setup much more than 1024 callbacks. llvm-svn: 217713
* [AArch64] Don't enable the post-RA MI scheduler at OptNone.Chad Rosier2014-09-121-1/+2
| | | | | | Hopefully, this will appease the bots. llvm-svn: 217712
* Allow targets to custom legalize vector insertion and extraction.Owen Anderson2014-09-121-0/+8
| | | | llvm-svn: 217711
* clang-cl: Warn when a /TC or /TP argument is unusedEhsan Akhgari2014-09-122-4/+6
| | | | | | | | | | | | Test Plan: The patch includes a test case. Reviewers: hansw Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5338 llvm-svn: 217710
* [llvm-objdump] support -rebase option for mach-o to dump rebasing infoNick Kledzik2014-09-127-1/+356
| | | | | | | | | | Similar to my previous -exports-trie option, the -rebase option dumps info from the LC_DYLD_INFO load command. The rebasing info is a list of the the locations that dyld needs to adjust if a mach-o image is not loaded at its preferred address. Since ASLR is now the default, images almost never load at their preferred address, and thus need to be rebased by dyld. llvm-svn: 217709
* llvm-profdata: Avoid undefined behaviour when reading raw profilesJustin Bogner2014-09-122-2/+3
| | | | | | | | | | The raw profiles that are generated in compiler-rt always add padding so that each profile is aligned, so we can simply treat files that don't have this property as malformed. Caught by Alexey's new ubsan bot. Thanks! llvm-svn: 217708
* Don't print 'NULL TYPE' when dumping a delegating constructor.Richard Trieu2014-09-122-1/+10
| | | | llvm-svn: 217707
* Remove an unnecessary restriction. MIsNeedChainEdge() should be checked ↵Owen Anderson2014-09-121-1/+1
| | | | | | | | | even when scheduler AliasAnalysis is not enabled. A good chunk of the MIsNeedChainEdge() is logic that is valid and should be applied even for targets that are not using for alias analysis. llvm-svn: 217706
* The MCAssembler.h include isn't used.Yaron Keren2014-09-121-1/+0
| | | | llvm-svn: 217705
* Allow protocols to be just declared.Rafael Espindola2014-09-122-3/+20
| | | | llvm-svn: 217704
* [UBSan] Don't overflow when calculating memory range that should be dumpedAlexey Samsonov2014-09-121-6/+16
| | | | llvm-svn: 217703
* Add an overload of getLastArgNoClaim taking two OptSpecifiers.Ehsan Akhgari2014-09-122-0/+10
| | | | | | | | | | | | | | Summary: This will be used in clang. Test Plan: Will be tested on the clang side. Reviewers: hansw Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5337 llvm-svn: 217702
* Add logic to LLDB to figure out the types of member functions of C++ ↵Enrico Granata2014-09-128-0/+217
| | | | | | classes. Add plumbing for that all the way up to the SB layer llvm-svn: 217701
* patch to add missing warning on sizeof wrong parameterFariborz Jahanian2014-09-123-6/+30
| | | | | | | | for __builtin___strlcpy_chk/__builtin___strlcat_chk. Patch by Jacques Fortier with monir change by me and addition of test. rdar://18259539 llvm-svn: 217700
* clang-cl: Don't treat linker input files differently when /TP or /TC is ↵Ehsan Akhgari2014-09-122-2/+19
| | | | | | | | | | | | | | | | specified. Summary: This fixes http://llvm.org/PR20923. Test Plan: This patch includes an automated test. Reviewers: hansw Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5334 llvm-svn: 217699
* FileCheckize. NFC.Chad Rosier2014-09-121-21/+25
| | | | llvm-svn: 217698
* Add support for le64.JF Bastien2014-09-122-2/+10
| | | | | | | | | | | | | | | | | Summary: le64 is a generic little-endian 64-bit processor, mimicking le32. Depends on D5318. Test Plan: make check-all Reviewers: dschuff Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5319 llvm-svn: 217697
* No need to use PNaCl's calling convention since PNaCl now uses a separate ↵JF Bastien2014-09-121-3/+0
| | | | | | approach for calling conventions. llvm-svn: 217696
* Fix copy/paste for test, the triple should be le64-unknown-unknownJF Bastien2014-09-121-2/+2
| | | | llvm-svn: 217695
* Add support for le64.JF Bastien2014-09-125-0/+228
| | | | | | | | | | | | | | | | | Summary: le64 is a generic little-endian 64-bit processor, mimicking le32. Also see the associated LLVM change. Test Plan: make check-all Reviewers: dschuff Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5318 llvm-svn: 217694
* [AArch64] Enable post-RA MI scheduler.Chad Rosier2014-09-123-1/+37
| | | | | | | Phabricator Revision: http://reviews.llvm.org/D5278 Patch by Sanjin Sijaric! llvm-svn: 217693
* Make anonymous namespace as small as possible.Rui Ueyama2014-09-121-13/+13
| | | | | | | | | LLVM coding style says that "static" is preferred for file-scope functions. Differential Revision: http://reviews.llvm.org/D5323 llvm-svn: 217692
* lldb fix ARM64 register accessTodd Fiala2014-09-121-0/+93
| | | | | | | | | | Apparently, PEEKUSER/POKEUSER is something x86 specific, so I had to rework it for AArch64. This fixes assertion that occurs whenever lldb started on AArch64 device tried to read PC register (or any other register) See http://reviews.llvm.org/D5232 for more details. Change by Paul Osmialowski. llvm-svn: 217691
* [A57FPLoadBalancing] Remove support for vector typesJames Molloy2014-09-121-5/+0
| | | | | | | | Vector MUL/MLAs have tied operands, which gives us extra constraints that we currently can't handle. Instead of silently doing the wrong thing, remove support to be readded later properly. llvm-svn: 217690
* [A57FPLoadBalancing] Ignore <def>s when checking if a chain may be killed.James Molloy2014-09-121-0/+4
| | | | | | | | Defs are seen before uses, so a def without the kill flag doesn't necessarily mean that the register is not killed on that instruction. It may be killed in a later use operand. llvm-svn: 217689
* [lit] Parse all strings as UTF-8 rather than ASCII.Jordan Rose2014-09-125-15/+33
| | | | | | | | | | As far as I can tell UTF-8 has been supported since the beginning of Python's codec support, and it's the de facto standard for text these days, at least for primarily-English text. This allows us to put Unicode into lit RUN lines. rdar://problem/18311663 llvm-svn: 217688
* clang-format: Improve line breaks at function calls.Daniel Jasper2014-09-122-0/+17
| | | | | | | | | | | | | Before: EXPECT_CALL(SomeObject, SomeFunction(Parameter)).Times(2).WillRepeatedly( Return(SomeValue)); After: EXPECT_CALL(SomeObject, SomeFunction(Parameter)) .Times(2) .WillRepeatedly(Return(SomeValue)); llvm-svn: 217687
* Add a previously-missing test case for return adjustment vs pure virtual methodsTimur Iskhodzhanov2014-09-121-0/+24
| | | | llvm-svn: 217686
* Move sys::fs::AccessMode out of @brief in the function. [-Wdocumentation]NAKAMURA Takumi2014-09-121-1/+2
| | | | | FIXME: Annotate sys::fs::AccessMode. llvm-svn: 217685
* sys::fs::access(): Fix @param [-Wdocumentation]NAKAMURA Takumi2014-09-121-1/+1
| | | | llvm-svn: 217684
* llvm/test/CodeGen/X86/vec_ctbits.ll: Add explicit -mtriple=x86_64-unknown. ↵NAKAMURA Takumi2014-09-121-1/+1
| | | | | | It was incompatible to Win32 x64. llvm-svn: 217683
* [A57LoadBalancing] unique_ptr-ify.James Molloy2014-09-121-25/+20
| | | | | | Thanks to David Blakie for the in-depth review! llvm-svn: 217682
* [mips][microMIPS] Implement JRADDIUSP instructionZoran Jovanovic2014-09-125-0/+57
| | | | | | Differential Revision: http://reviews.llvm.org/D5046 llvm-svn: 217681
* Address comments on r217622Bill Schmidt2014-09-122-4/+18
| | | | llvm-svn: 217680
* [ASan/Win] Fix PR20918 -- SEH handler doesn't work with the MD runtimeTimur Iskhodzhanov2014-09-126-8/+103
| | | | llvm-svn: 217679
* [mips][microMIPS] Implement BGEZALS and BLTZALS instructionsZoran Jovanovic2014-09-123-0/+23
| | | | | | Differential Revision: http://reviews.llvm.org/D5004 llvm-svn: 217678
OpenPOWER on IntegriCloud