- Oct 01, 2016
-
-
Piotr Padlewski authored
llvm-svn: 282951
-
Piotr Padlewski authored
llvm-svn: 282950
-
Alexander Shaposhnikov authored
This diff adds std::move to avoid copying of the Replacement NewR in the method Replacements::add. Test plan: make -j8 check-all Differential revision: https://reviews.llvm.org/D25049 llvm-svn: 282949
-
Mike Aizatsky authored
llvm-svn: 282948
-
Jonathan Peyton authored
If affinity is not capable, then these API functions will perform the stubs version. llvm-svn: 282947
-
Rui Ueyama authored
llvm-svn: 282945
-
Rui Ueyama authored
When we create a PDB file using PDBFileBuilder, the information in the superblock, such as the size of the resulting file, is not available. Previously, PDBFileBuilder::initialize took a superblock assuming that all the members of the struct are correct. That is useful when you want to restore the exact information from a YAML file, but that's probably the only use case in which that is useful. When we are creating a PDB file on the fly, we have to backfill the members. This patch redefines PDBFileBuilder::initialize to take only a block size. Now all the other members are left as default values, so that they'll be updated when commit() is called. Differential Revision: https://reviews.llvm.org/D25108 llvm-svn: 282944
-
Sean Callanan authored
llvm-svn: 282943
-
Rui Ueyama authored
llvm-svn: 282942
-
Dawn Perchik authored
llvm-svn: 282941
-
Rui Ueyama authored
WritableStream needs the exact file size to open a file, but until we fix the final layout of a PDB file, we don't know the size of the file. This patch changes the parameter type of PDBFileBuilder::commit to solve that chiecken-and-egg problem. Now the function opens a file after fixing the layout, so it can create a file with the exact size. Differential Revision: https://reviews.llvm.org/D25107 llvm-svn: 282940
-
Joerg Sonnenberger authored
llvm-svn: 282939
-
Joerg Sonnenberger authored
llvm-svn: 282938
-
Joerg Sonnenberger authored
llvm-svn: 282936
-
Joerg Sonnenberger authored
llvm-svn: 282935
-
Joerg Sonnenberger authored
llvm-svn: 282934
-
Joerg Sonnenberger authored
llvm-svn: 282933
-
Joerg Sonnenberger authored
llvm-svn: 282932
-
Joerg Sonnenberger authored
llvm-svn: 282931
-
Joerg Sonnenberger authored
llvm-svn: 282930
-
Joerg Sonnenberger authored
llvm-svn: 282929
-
Joerg Sonnenberger authored
llvm-svn: 282928
-
Justin Lebar authored
This commit added a warning that we're (correctly) hitting in this test. Just ignore it. llvm-svn: 282927
-
Rui Ueyama authored
llvm-svn: 282926
-
Joerg Sonnenberger authored
to check for the former, don't depend on (dangling) HAVE_MMAP_ANONYMOUS. llvm-svn: 282925
-
Joerg Sonnenberger authored
systems. It wasn't even hooked up in cmake, so problems on such systems would be visible with 3.9 release already. llvm-svn: 282924
-
Joerg Sonnenberger authored
llvm-svn: 282923
-
Joerg Sonnenberger authored
llvm-svn: 282922
-
Joerg Sonnenberger authored
llvm-svn: 282921
-
Hans Wennborg authored
We can't use Jcc to leave a Win64 function in general, because that confuses the unwinder. However, for "leaf" functions, that is, functions where the return address is always on top of the stack and which don't have unwind info, it's OK. Differential Revision: https://reviews.llvm.org/D24836 llvm-svn: 282920
-
Joerg Sonnenberger authored
llvm-svn: 282919
-
Joerg Sonnenberger authored
llvm-svn: 282918
-
Joerg Sonnenberger authored
llvm-svn: 282917
-
Rui Ueyama authored
This was intended to warn on a usage error of an ar command. I was thinking that false positive would be rare because it has two guards: it warns only when an archive file has no symbols and contains at least one file. Turned out that false positive would probably be not that rare. You wouldn't intentionally create an object file that contains no exported symbols, but with conditional compile guards, you could create such file. If it is for a LTO build, you could create an archive file containing such file. That means there's no way to detect the usage error in a reliable manner. This patch simply removes the warning. llvm-svn: 282916
-
Joerg Sonnenberger authored
llvm-svn: 282915
-
Joerg Sonnenberger authored
llvm-svn: 282914
-
Kostya Kortchinsky authored
Summary: s/CHECK_LT/CHECK_LE/ in the secondary allocator, as under certain circumstances Ptr + Size can be equal to MapEnd. This edge case was not found by the current tests, so those were extended to be able to catch that. Reviewers: kcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25101 llvm-svn: 282913
-
Justin Lebar authored
I'd said that nvcc doesn't allow you to add __host__ or __device__ attributes on lambdas in all circumstances, but I believe this was user error on my part. I can't reproduce these warnings/errors if I pass --expt-extended-lambda to nvcc. llvm-svn: 282912
-
Justin Lebar authored
Summary: This is probably the sane place for the attribute to go, but nvcc specifically rejects it. Other GNU-style attributes are allowed in this position (although judging from the warning it emits for host/device/global, those attributes are applied to the lambda's anonymous struct, not to the function itself). It would be nice to have a FixIt message here, but doing so, or even just getting the correct range for the attribute, including its '((' and '))'s, is apparently Hard. Reviewers: rnk Subscribers: cfe-commits, tra Differential Revision: https://reviews.llvm.org/D25115 llvm-svn: 282911 -
Justin Lebar authored
Summary: There's an overload that we can use to make this a bit cleaner. Reviewers: rnk Subscribers: cfe-commits, tra Differential Revision: https://reviews.llvm.org/D25114 llvm-svn: 282910
-