- Mar 16, 2017
-
-
George Rimar authored
Excessive typename keyword. llvm-svn: 297949
-
George Rimar authored
This test would have been broken if we convert SharedSymbols to DefinerRegular without saving the symbol version information when creating .bss/.bss.rel.ro sections for copy relocations. Relative to D30541, PR32167 llvm-svn: 297948
-
Egor Churaev authored
Reviewers: Anastasia Reviewed By: Anastasia Subscribers: cfe-commits, yaxunl, bader Differential Revision: https://reviews.llvm.org/D28136 llvm-svn: 297947
-
George Rimar authored
That allows to detemplate getGotPltOffset/getGotPltVA methods of SymbolBody and also will help to detemplate DynamicReloc itself later. llvm-svn: 297946
-
James Henderson authored
[Support] Add support for getting file system permissions on Windows and implement sys::fs::set/getPermissions to work with them This change adds support for functions to set and get file permissions, in a similar manner to the C++17 permissions() function in <filesystem>. The setter uses chmod on Unix systems and SetFileAttributes on Windows, setting the permissions as passed in. The getter simply uses the existing status() function. Prior to this change, status() would always return an unknown value for the permissions on a Windows file, making it impossible to test the new function on Windows. I have therefore added support for this as well. On Linux, prior to this change, the permissions included the file type, which should actually be accessed via a different member of the file_status class. Note that on Windows, only the *_write permission bits have any affect - if any are set, the file is writable, and if not, the file is read-only. This is in common with what MSDN describes for their behaviour of std::filesystem::permissions(), and also what boost::filesystem does. The motivation behind this change is so that we can easily test behaviour on read-only files in LLVM unit tests, but I am sure that others may find it useful in some situations. Reviewers: zturner, amccarth, aaron.ballman Differential Revision: https://reviews.llvm.org/D30736 llvm-svn: 297945
-
George Rimar authored
llvm-svn: 297944
-
George Rimar authored
llvm-svn: 297943
-
George Rimar authored
llvm-svn: 297942
-
George Rimar authored
llvm-svn: 297941
-
Chandler Carruth authored
the work queue and crash when trying to visit them after deleting the function containing those calls. llvm-svn: 297940
-
George Rimar authored
llvm-svn: 297939
-
George Rimar authored
llvm-svn: 297938
-
George Rimar authored
llvm-svn: 297937
-
Martin Probst authored
clang-format treats MSVC `__super` keyword like all other keywords adding a single space after. This change disables this behavior for `__super`. Patch originally by jutocz (thanks!). Differential Revision: https://reviews.llvm.org/D30932 llvm-svn: 297936
-
Chandler Carruth authored
in r297374. I've extracted a small version of this from the C++ metaprogram Richard came up with to exercise these kinds of issues and written comments to describe both how to reproduce a fresh version of the test case and what likely failure modes are. The test case is still a bit brittle as it depends on the particular inline cost modeling and SCC visitation order, but it definitely would have caught the bug right away when developing things so it seems a really valuable test case to have. llvm-svn: 297935
-
George Rimar authored
I suppose it is the reason of BB fail: http://lab.llvm.org:8011/builders/clang-cmake-aarch64-lld/builds/921 https://bugs.llvm.org/show_bug.cgi?id=32167 llvm-svn: 297933
-
Oren Ben Simhon authored
llvm-svn: 297932
-
Daniel Jasper authored
Before (even violating the column limit): auto Diag = diag() << aaaaaaaaaaaaaaaa(aaaaaaaaaaaa, aaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaa); After: auto Diag = diag() << aaaaaaaaaaaaaaaa(aaaaaaaaaaaa, aaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaa); llvm-svn: 297931
-
Jonas Paulsson authored
Don't scalarize VSELECT->SETCC when operands/results needs to be widened, or when the type of the SETCC operands are different from those of the VSELECT. (VSELECT SETCC) and (VSELECT (AND/OR/XOR (SETCC,SETCC))) are handled. The previous splitting of VSELECT->SETCC in DAGCombiner::visitVSELECT() is no longer needed and has been removed. Updated tests: test/CodeGen/ARM/vuzp.ll test/CodeGen/NVPTX/f16x2-instructions.ll test/CodeGen/X86/2011-10-19-widen_vselect.ll test/CodeGen/X86/2011-10-21-widen-cmp.ll test/CodeGen/X86/psubus.ll test/CodeGen/X86/vselect-pcmp.ll Review: Eli Friedman, Simon Pilgrim https://reviews.llvm.org/D29489 llvm-svn: 297930
-
Tobias Grosser authored
Summary: In commit r289548 ([ADCE] Add code to remove dead branches) a redundant loop nest was accidentally introduced, which implements exactly the same functionality as has already been available right after. This redundancy has been found when inspecting the ADCE code in the context of our recent discussions on post-dominator modeling. This redundant code was also eliminated by r296535 (which sparked the discussion), but only as part of a larger semantic change of the post-dominance modeling. As this redundency in [ADCE] is really just an oversight completely independent of the post-dominance changes under discussion, we remove this redundancy independently. Reviewers: dberlin, david2050 Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D31023 llvm-svn: 297929
-
Peter Collingbourne authored
llvm-svn: 297928
-
Peter Collingbourne authored
The idea is that the policy string fully specifies the policy and is portable between clients. Differential Revision: https://reviews.llvm.org/D31020 llvm-svn: 297927
-
Colin LeMahieu authored
llvm-svn: 297926
-
Kyle Butt authored
This produces a 1% speedup on an important internal Google benchmark (protocol buffers), with no other regressions in google or in the llvm test-suite. Only 5 targets in the entire llvm test-suite are affected, and on those 5 targets the size increase is 0.027% llvm-svn: 297925
-
Vitaly Buka authored
llvm-svn: 297924
-
Evgeniy Stepanov authored
llvm-svn: 297923
-
David Blaikie authored
Check that line table entries don't spill over between sections even if they're empty at the end of a section llvm-svn: 297922
-
David Blaikie authored
llvm-svn: 297921
-
Colin LeMahieu authored
llvm-svn: 297920
-
Kostya Serebryany authored
[libFuzzer] add a dummy LLVMFuzzerMutate to afl/afl_driver.cpp (https://github.com/google/oss-fuzz/issues/460) llvm-svn: 297919
-
Kostya Serebryany authored
llvm-svn: 297918
-
Eric Christopher authored
a) avoid actually compiling anything b) avoid depositing files in the test directory c) use a check line to make sure that we're looking for the correct behavior llvm-svn: 297917
-
Kostya Serebryany authored
llvm-svn: 297916
-
Simon Pilgrim authored
llvm-svn: 297915
-
Kostya Serebryany authored
[asan] add one more argument to __sanitizer_print_memory_profile, remove a redundant weak definition. llvm-svn: 297914
-
Matt Arsenault authored
llvm-svn: 297913
-
Vitaly Buka authored
Fails LLVMFuzzer.LLVMFuzzer.value-profile-strncmp.test. This reverts commit r297891. llvm-svn: 297912
-
Vitaly Buka authored
Previously reverted wrong revision. This reverts commit r297910. llvm-svn: 297911
-
Vitaly Buka authored
Fails LLVMFuzzer.LLVMFuzzer.value-profile-strncmp.test This reverts commit r297892. llvm-svn: 297910
-
Rong Xu authored
llvm-svn: 297909
-