- Feb 27, 2014
-
-
Ben Langmuir authored
This reverts commit r202420, which broke the build. llvm-svn: 202421
-
Ben Langmuir authored
This cleans up some constructors that would not be safe once FileEntry owns the storage for its name. These were already suspect, since they wouldn't work if the FileEntry had an open file descriptor. The only user for these constructors was in UniqueFileContainer, which wasn't a very useful abstraction anyway. So it and UniqueDirContainer have been replaced with std::map<UniqueID, *>. This change should not affect anything outside the FileManager. llvm-svn: 202420
-
Rafael Espindola authored
In llvm the only semantic difference between internal and private is that llvm tries to hide private globals my mangling them with a private prefix. Since the globals changed by this patch already had the magic don't mangle marker, there should be no change in the generated assembly. A followup patch should then be able to drop the \01L and \01l prefixes and let llvm mangle as appropriate. llvm-svn: 202419
-
Matheus Almeida authored
Some MC components like Target Streamers or Assembly Parsers may need to access the relocation model in order to expand some directives and/or assembly macros. llvm-svn: 202418
-
Eric Christopher authored
making the cache mutable. llvm-svn: 202417
-
Adrian Prantl authored
scan the register file for sub- and super-registers. No functionality change intended. (Tests are updated because the comments in the assembler output are different.) llvm-svn: 202416
-
Adrian Prantl authored
llvm-svn: 202415
-
Richard Osborne authored
If a function returns a large struct by value return the first 4 words in registers and the rest on the stack in a location reserved by the caller. This is needed to support the xC language which supports functions returning an arbitrary number of return values. This is r202397 reapplied with a fix to avoid an uninitialized read of a member. llvm-svn: 202414
-
Richard Osborne authored
No functionality change. This is r202396 reapplied with no changes. llvm-svn: 202413
-
Ben Langmuir authored
This is a small bit of refactoring in preparation for FileEntry owning the storage for its own name. llvm-svn: 202412
-
Todd Fiala authored
This change converts points to clang::ExternalASTSource from llvm::OwningPtr<> to llvm::IntrusiveRefCntPtr<>. llvm-svn: 202411
-
Alexander Potapenko authored
llvm-svn: 202410
-
Rafael Espindola authored
No functionality change. This is just an intermediate patch for changing those global variables to use private linkage. llvm-svn: 202409
-
Rafael Espindola authored
We moved MCJIT to use native object formats a long time ago and R600 now uses ELF, so it was dead. llvm-svn: 202408
-
Marshall Clow authored
More LWG issues. Mark #2182, #2323 and #2213 as complete. Add a test for #2339, and mark that as complete. No actual changes to the libc++ code; all of these were already in place. llvm-svn: 202407
-
Dmitri Gribenko authored
clang_Type_getTemplateArgument Note that these functions don't handle variadic templates -- see tests. Patch by Matthieu Nottale and Philippe Daouadi. llvm-svn: 202406
-
Dmitry Vyukov authored
llvm-svn: 202405
-
Alexander Kornienko authored
Re-apply r200853, which should not crash after Clang plugins were converted to loadable modules in r201256. llvm-svn: 202404
-
Dmitry Vyukov authored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066 llvm-svn: 202403
-
Alexey Samsonov authored
llvm-svn: 202402
-
Kostya Serebryany authored
[sanitizer] do not acquire a global mutex in deadlock detector when dealing with Unlock (it is essentially a thread-local operation) llvm-svn: 202401
-
Dmitry Vyukov authored
this fixes obscure false positives see the comments and the test for details llvm-svn: 202400
-
Alexander Kornienko authored
Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2895 llvm-svn: 202399
-
Richard Osborne authored
These are causing test failures, revert for now. llvm-svn: 202398
-
Richard Osborne authored
Summary: If a function returns a large struct by value return the first 4 words in registers and the rest on the stack in a location reserved by the caller. This is needed to support the xC language which supports functions returning an arbitrary number of return values. Reviewers: robertlytton Reviewed By: robertlytton CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2889 llvm-svn: 202397
-
Richard Osborne authored
No functionality change. llvm-svn: 202396
-
Richard Osborne authored
Summary: If the src, dst and size of a memcpy are known to be 4 byte aligned we can call __memcpy_4() instead of memcpy(). Reviewers: robertlytton Reviewed By: robertlytton CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2871 llvm-svn: 202395
-
Richard Osborne authored
These instructions ignore the high bits of one of their input operands - try and use this to simplify the code. llvm-svn: 202394
-
Richard Osborne authored
llvm-svn: 202393
-
Alexander Kornienko authored
Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2894 llvm-svn: 202392
-
Kostya Serebryany authored
llvm-svn: 202391
-
Kostya Serebryany authored
llvm-svn: 202390
-
Kostya Serebryany authored
[asan] *experimental* implementation of invalid-pointer-pair detector (finds when two unrelated pointers are compared or subtracted). This implementation has both false positives and false negatives and is not tuned for performance. A bug report for a proper implementation will follow. llvm-svn: 202389
-
Timur Iskhodzhanov authored
llvm-svn: 202380
-
Dmitry Vyukov authored
llvm-svn: 202379
-
Alexey Samsonov authored
llvm-svn: 202378
-
Alexey Samsonov authored
llvm-svn: 202377
-
Sylvestre Ledru authored
update the declaration from llvm::OwningPtr to llvm::IntrusiveRefCntPtr to match the clang update (r202346) on ASTContext llvm-svn: 202376
-
Chandler Carruth authored
toolchain of LLVM. These are already being enforced by the build system and have been discussed quite a few times on the lists, but documentation is important. =] Also, garbage collect the majority of the information about broken host GCC toolchains. These aren't really relevant any more as they're all older than the minimum requirement. I've left a few notes about compilers one step older than the current requirement as these compilers are at least conceivable to use, and it's better to preserve this kind of hard-won institutional knowledge. The next step will be some specific docs on how to set up a sufficiently modern host toolchain if your system doesn't come with one. But that'll be tomorrow. =] llvm-svn: 202375
-
Evgeniy Stepanov authored
llvm-svn: 202374
-