- Dec 04, 2014
-
-
Zachary Turner authored
This is a temporary workaround to get deferred breakpoint resolution working until Bug 21720 is addressed. Even with this workaround, it will only resolve deferred breakpoints in the executable module, and not in a shared library. llvm-svn: 223273
-
Zachary Turner authored
Previously if we got a DoDestroy while stopped at a breakpoint, we would detach and then say the process had exited. This is completely wrong, as it resulted in the python script incorrectly assuming that the process had actually exited and trying to delete the image, when in fact it had done no such thing. The fix employed here is that when we get a DoDestroy, we do 3 steps: 1) initiate a termination sequence on the process 2) If we were stopped handling an exception of any kind, mask it and let the program resume, causing the program to see the termination request and exit on its own. 3) Let the program exit normally, and close all of our handles before returning control back to DoDestroy. This fixes Bug 21722 and Bug 21723. llvm-svn: 223272
-
Reid Kleckner authored
Summary: Allow CUDA host device functions with two code paths using __CUDA_ARCH__ to differentiate between code path being compiled. For example: __host__ __device__ void host_device_function(void) { #ifdef __CUDA_ARCH__ device_only_function(); #else host_only_function(); #endif } Patch by Jacques Pienaar. Reviewed By: rnk Differential Revision: http://reviews.llvm.org/D6457 llvm-svn: 223271 -
Matthias Braun authored
This allows cases like float x; fmin(1.0, x); to be optimized to fminf(1.0f, x); rdar://19049359 Differential Revision: http://reviews.llvm.org/D6496 llvm-svn: 223270
-
Matthias Braun authored
rdar://19049359 Differential Revision: http://reviews.llvm.org/D6495 llvm-svn: 223269
-
Colin LeMahieu authored
llvm-svn: 223268
-
Reid Kleckner authored
We currently use i32 (...)** as the type of the vptr field in the LLVM struct type. LLVM's GlobalOpt prefers any bitcasts to be on the side of the data being stored rather than on the pointer being stored to. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D5916 llvm-svn: 223267
-
Richard Smith authored
_Generic expression are unevaluated. llvm-svn: 223266
-
Nico Weber authored
llvm-svn: 223265
-
Colin LeMahieu authored
llvm-svn: 223264
-
David Blaikie authored
llvm-svn: 223263
-
David Blaikie authored
Simplify CodeGenRegBank::inferMatchingSuperRegClass & its caller by passing an iterator rather than index llvm-svn: 223262
-
David Blaikie authored
Simplify ownership of RegClasses by using list<CodeGenRegisterClass> instead of vector<CodeGenRegisterClass*> This complicates a few algorithms due to not having random access, but not by a huge degree I don't think (open to debate/design discussion/etc). llvm-svn: 223261
-
David Blaikie authored
llvm-svn: 223260
-
Philip Reames authored
The recently added documentation for statepoints claimed that we checked the parameters of the various intrinsics for validity. This patch adds the code to actually do so. I also removed a couple of redundant checks for conditions which are checked elsewhere in the Verifier and simplified the logic using the helper functions from Statepoint.h. llvm-svn: 223259
-
Hans Wennborg authored
llvm-svn: 223258
-
Will Schmidt authored
Add TableGen info for Power8. This is based on the Power7 version, with units added and renamed to match P8. Differential Revision: http://reviews.llvm.org/D6358 llvm-svn: 223257
-
Roman Divacky authored
llvm-svn: 223255
-
Matt Arsenault authored
It was complaining it wasn't included in any toctree llvm-svn: 223254
-
Tom Stellard authored
This pass needs to be run after PrologEpilogInserter, because that pass may inserter spill code which reads or writes memory. llvm-svn: 223253
-
Tom Stellard authored
llvm-svn: 223252
-
Oleksiy Vyalov authored
http://reviews.llvm.org/D6490 llvm-svn: 223251
-
Alexander Kornienko authored
Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6506 llvm-svn: 223249
-
Alexander Kornienko authored
Reviewers: klimek Reviewed By: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D6505 llvm-svn: 223248
-
Tim Northover authored
The blocked arguments code didn't take account of the hacks needed to support it. llvm-svn: 223247
-
Colin LeMahieu authored
llvm-svn: 223246
-
Colin LeMahieu authored
llvm-svn: 223245
-
Nick Lewycky authored
Fix test to use the right metadata node (reapply r223239 plus a fix) and also to use the correct path to the GCNO file. llvm-svn: 223244
-
Colin LeMahieu authored
llvm-svn: 223243
-
Jonathan Roelofs authored
llvm-svn: 223241
-
Alexander Potapenko authored
llvm-svn: 223240
-
- Dec 03, 2014
-
-
Alexander Potapenko authored
llvm-svn: 223239
-
Aaron Ballman authored
llvm-svn: 223238
-
Aaron Ballman authored
llvm-svn: 223237
-
Evgeniy Stepanov authored
This change makes MemorySanitizer instrumentation a bit more strict about instructions that have no origin id assigned to them. This would have caught the bug that was fixed in r222918. This is re-commit of r222997, reverted in r223211, with 3 more missing origins added. llvm-svn: 223236
-
Alexander Kornienko authored
Fixed incorrect examples of configuration, clarified the usage of -dump-config. llvm-svn: 223235
-
Daniel Jasper authored
Before: return (a > b // comment1 // comment2 || c); After: return (a > b // comment1 // comment2 || c); llvm-svn: 223234 -
Evgeniy Stepanov authored
Previously, all origin ids were "chained" origins, i.e values of ChainedOriginDepot. This added a level of indirection for simple stack and heap allocation, which were represented as chains of length 1. This costs both RAM and CPU, but provides a joined 2**29 origin id space. It also made function (any instrumented function) entry non-async-signal-safe, but that does not really matter because memory stores in track-origins=2 mode are not async-signal-safe anyway. With this change, the type of the origin is encoded in origin id. See comment in msan_origin.h for more details. This reduces chained and stack origin id range to 2**28 each, but leaves extra 2**31 for heap origins. This change should not have any user-visible effects. llvm-svn: 223233
-
Alexander Kornienko authored
llvm-svn: 223232
-
Evgeniy Stepanov authored
This test does an intentional use-after-return, but this is not the focus of the test, so ignore it. llvm-svn: 223230
-