- Jun 21, 2016
-
-
Kevin Enderby authored
Darwin added support in its Xcode 8.0 tools (released in the beta) for universal files where offsets and sizes for the objects are 64-bits to allow support for objects contained in universal files to be larger then 4gb. The change is very straight forward. There is a new magic number that differs by one bit, much like the 64-bit Mach-O files. Then there is a new structure that follow the fat_header that has the same layout but with the offset and size fields using 64-bit values instead of 32-bit values. rdar://26899493 llvm-svn: 273207
-
Rafael Espindola authored
llvm-svn: 273206
-
Evgeniy Stepanov authored
Dstaddr may contain uninitialized padding at the end (common implementations accept larger addrlen and ignore the extra bytes). Also, depending on the socket state, dstaddr argument may be ignored. llvm-svn: 273205
-
- Jun 20, 2016
-
-
Evgeniy Stepanov authored
llvm-svn: 273204
-
Easwaran Raman authored
Differential revision: http://reviews.llvm.org/D19185 llvm-svn: 273203
-
Vedant Kumar authored
There is a known intended race here. This is a follow-up to r264805, which disabled tsan instrumentation for updates to instrprof counters. For more background on this please see the discussion in D18164. llvm-svn: 273202
-
Sanjay Patel authored
By moving this transform to InstSimplify from InstCombine, we sidestep the problem/question raised by PR27869: https://llvm.org/bugs/show_bug.cgi?id=27869 ...where InstCombine turns an icmp+zext into a shift causing us to miss the fold. Credit to David Majnemer for a draft patch of the changes to InstructionSimplify.cpp. Differential Revision: http://reviews.llvm.org/D21512 llvm-svn: 273200
-
Dehao Chen authored
Summary: Inliner needs ACT when calling InlineFunction. Instead of nullptr, we need to pass it in from SampleProfileLoader Reviewers: davidxl Subscribers: eraman, vsk, danielcdh, llvm-commits Differential Revision: http://reviews.llvm.org/D21205 llvm-svn: 273199
-
Easwaran Raman authored
Differential revision: http://reviews.llvm.org/D19184 llvm-svn: 273198
-
Thomas Jablin authored
llvm-svn: 273197
-
Daniel Jasper authored
llvm-svn: 273196
-
Aaron Ballman authored
Fix a relatively nasty bug with fs::getPathFromOpenFD() on Windows. The GetFinalPathNameByHandle API does not behave as documented; if given a buffer that has enough space for the path but not the null terminator, the call will return the number of characters required *without* the null terminator (despite being documented otherwise) and it will not set GetLastError(). The result was that this function would return a bogus path and no error. Instead, ensure there is sufficient space for a null terminator (we already strip it off manually for compatibility with older versions of Windows). llvm-svn: 273195
-
Daniel Berlin authored
llvm-svn: 273194
-
Erik Pilkington authored
Fixes PR27941, a crash on invalid. Differential revision: http://reviews.llvm.org/D20923 llvm-svn: 273193
-
Tom Stellard authored
Reviewers: rafael, ruiu Subscribers: kzhuravl, llvm-commits Differential Revision: http://reviews.llvm.org/D21294 llvm-svn: 273192
-
Yaxun Liu authored
Include opencl-c.h by default as a module to utilize the automatic AST caching mechanism of clang modules. Add an option -finclude-default-header to enable default header for OpenCL, which is off by default. Differential Revision: http://reviews.llvm.org/D20444 llvm-svn: 273191
-
Kelvin Li authored
Differential Revision: http://reviews.llvm.org/D21477 llvm-svn: 273190
-
George Burgess IV authored
We recently made MemorySSA own the walker it creates. As a part of this, the MSSA test fixture was changed to have a `Walker*` instead of a `unique_ptr<Walker>`. So, we no longer need to do `&*Walker` in order to get a `Walker*`. llvm-svn: 273189
-
Matt Arsenault authored
Specific instances of intrinsic calls may want to be convergent, such as certain register reads but the intrinsic declaration is not. llvm-svn: 273188
-
Rafael Espindola authored
llvm-svn: 273187
-
Sanjay Patel authored
llvm-svn: 273186
-
Evandro Menezes authored
llvm-svn: 273185
-
Lang Hames authored
llvm-svn: 273184
-
Lang Hames authored
llvm-svn: 273183
-
Matt Arsenault authored
The implicit operand is added by the initial instruction construction, so this was adding an additional vcc use. The original one was missing the undef flag the original condition had, so the verifier would complain. llvm-svn: 273182
-
Matt Arsenault authored
This will help sneak undefs past GVN into the DAG for some tests. Also add missing intrinsic for rsq_legacy, even though the node was already selected to the instruction. Also start passing the debug location to intrinsic errors. llvm-svn: 273181
-
Sanjay Patel authored
llvm-svn: 273180
-
Daniel Jasper authored
llvm-svn: 273179
-
Matt Arsenault authored
llvm-svn: 273178
-
Matt Arsenault authored
Backends may want to report errors on resources other than stack size. llvm-svn: 273177
-
Etienne Bergeron authored
Summary: The RoundUpToInstrBoundary determines intructions boundary and it's used to determine how to patch (intercept) functions. The current x64-bit implementation is incomplete. This patch is adding patterns observed when trying to sanitize a 64-bit executable on my computer. Thw two current functions not intercepted are: ``` RaiseExceptionStub: 000000007720C3B0 EB 06 jmp RaiseException (07720C3B8h) 000000007720C3B2 90 nop 000000007720C3B3 90 nop 000000007720C3B4 90 nop 000000007720C3B5 90 nop 000000007720C3B6 90 nop 000000007720C3B7 90 nop RaiseException: 000000007720C3B8 FF 25 3A 18 09 00 jmp qword ptr [__imp_RaiseException (07729DBF8h)] 000000007720C3BE 8B 44 24 54 mov eax,dword ptr [rsp+54h] 000000007720C3C2 85 C0 test eax,eax 000000007720C3C4 0F 84 F5 05 00 00 je Wow64NtCreateKey+12Fh (07720C9BFh) ``` ``` CreateThreadStub: 0000000077215A10 48 83 EC 48 sub rsp,48h 0000000077215A14 48 8B 44 24 78 mov rax,qword ptr [rsp+78h] 0000000077215A19 48 89 44 24 38 mov qword ptr [rsp+38h],rax 0000000077215A1E 8B 44 24 70 mov eax,dword ptr [rsp+70h] ``` Reviewers: rnk Subscribers: wang0109, chrisha Differential Revision: http://reviews.llvm.org/D21519 llvm-svn: 273176
-
Davide Italiano authored
Update an existing test to exercise the new functionality, while I'm here. llvm-svn: 273175
-
Evgeniy Stepanov authored
A runtime flag to enable checking in send* interceptors. Checking is enabled by default. llvm-svn: 273174
-
Sanjay Patel authored
llvm-svn: 273173
-
Matt Arsenault authored
llvm-svn: 273172
-
Adrian McCarthy authored
Trying to expand short names with a relative path doesn't work, so this first gets the module name to get a full path (which can still have short names). llvm-svn: 273171
-
Sanjay Patel authored
llvm-svn: 273170
-
Rafael Espindola authored
With this ARM fast isel knows that PIE variable are not preemptable. llvm-svn: 273169
-
Tom Stellard authored
Reviewers: arsenm, kzhuravl, rafael Subscribers: arsenm, llvm-commits, kzhuravl Differential Revision: http://reviews.llvm.org/D21401 llvm-svn: 273168
-
Rafael Espindola authored
llvm-svn: 273167
-