- Oct 15, 2013
-
-
Evgeniy Stepanov authored
This behaviour depends on MSAN_OPTIONS. All interesting combinations are covered by lit_tests/allocator_returns_null.cc. llvm-svn: 192691
-
Anders Waldenborg authored
This new library will be linked in when using the "all-targets" component and contains the LLVMInitializeAll* functions. This means that those functions will exist as real symbols in the shared library, and can therefore can be called from bindings that are using ffi the shared library. llvm-svn: 192690
-
Sergey Matveev authored
Remove outdated comments. Also remove code that handled an issue in libc's sigaction(), which we don't use anymore. llvm-svn: 192689
-
Dmitry Vyukov authored
llvm-svn: 192688
-
Evgeniy Stepanov authored
llvm-svn: 192687
-
Dmitry Vyukov authored
use them in stoptheworld fixes applications that intercept sigaction/sigprocmask llvm-svn: 192686
-
Evgeniy Stepanov authored
llvm-svn: 192685
-
David Majnemer authored
No functional change. llvm-svn: 192684
-
David Majnemer authored
No functional change. llvm-svn: 192683
-
David Majnemer authored
We wouldn't transform the compound statement in any of these forms, causing crashes when it got time to act on them. Additionally, we wouldn't check to see if the handler was invalid before deciding whether or not we should continue acting on the __try. This fixes PR17584. llvm-svn: 192682
-
Richard Sandiford authored
llvm-svn: 192681
-
David Majnemer authored
There doesn't seem to be a need in checking if a directory exists if we will just rm -rf it once we affirm that it does. Instead, just blindly try to delete it. This fixes PR17541. llvm-svn: 192680
-
David Majnemer authored
There doesn't seem to be a need in checking if a directory exists if we will just rm -rf it once we affirm that it does. Instead, just blindly try to delete it. This fixes PR17541. llvm-svn: 192679
-
Job Noorman authored
llvm-svn: 192678
-
Alexey Samsonov authored
llvm-svn: 192677
-
NAKAMURA Takumi authored
llvm-svn: 192676
-
NAKAMURA Takumi authored
llvm/test/CodeGen/X86/break-avx-dep.ll: Relax an expression to be matched to also r[89], not only rXX. llvm-svn: 192675
-
David Majnemer authored
icc 13 and g++ 4.9 both reject this while we would crash. Fixes PR17578. llvm-svn: 192674
-
Ted Kremenek authored
Special case '%C' handling in ObjC format strings to handle integer literals that can represent unicode characters Fixes <rdar://problem/13991617>. llvm-svn: 192673
-
Craig Topper authored
Remove x86_sse42_crc32_64_8 intrinsic. It has no functional difference from x86_sse42_crc32_32_8 and was not mapped to a clang builtin. I'm not even sure why this form of the instruction is even called out explicitly in the docs. Also add AutoUpgrade support to convert it into the other intrinsic with appropriate trunc and zext. llvm-svn: 192672
-
Richard Smith authored
from a patch by Justin Bogner. llvm-svn: 192671
-
Ted Kremenek authored
llvm-svn: 192670
-
Andrew Trick authored
rdar:15221834 False AVX register dependencies cause 5x slowdown on flops-5/6 and significant slowdown on several others. This was blocking the switch to MI-Sched. llvm-svn: 192669
-
Chandler Carruth authored
llvm-svn: 192668
-
Akira Hatanaka authored
parts of the accumulators and gets expanded post-RA. llvm-svn: 192667
-
Richard Smith authored
a patch by Michael Han. llvm-svn: 192666
-
Akira Hatanaka authored
of relying on AddedComplexity. llvm-svn: 192665
-
Reid Kleckner authored
If a class is using the unspecified inheritance model for member pointers and later we find the class is defined to use single inheritance, zero out the vbptr offset field of the member pointer when it is formed. llvm-svn: 192664
-
Akira Hatanaka authored
llvm-svn: 192663
-
Akira Hatanaka authored
llvm-svn: 192662
-
Akira Hatanaka authored
llvm-svn: 192661
-
Akira Hatanaka authored
llvm-svn: 192660
-
rdar://problem/14972424Greg Clayton authored
When debugging with the GDB remote in LLDB, LLDB uses special packets to discover the registers on the remote server. When those packets aren't supported, LLDB doesn't know what the registers look like. This checkin implements a setting that can be used to specify a python file that contains the registers definitions. The setting is: (lldb) settings set plugin.process.gdb-remote.target-definition-file /path/to/module.py Inside module there should be a function: def get_dynamic_setting(target, setting_name): This dynamic setting function is handed the "target" which is a SBTarget, and the "setting_name", which is the name of the dynamic setting to retrieve. For the GDB remote target definition the setting name is 'gdb-server-target-definition'. The return value is a dictionary that follows the same format as the OperatingSystem plugins follow. I have checked in an example file that implements the x86_64 GDB register set for people to see: examples/python/x86_64_target_definition.py This allows LLDB to debug to any archticture that is support and allows users to define the registers contexts when the discovery packets (qRegisterInfo, qHostInfo) are not supported by the remote GDB server. A few benefits of doing this in Python: 1 - The dynamic register context was already supported in the OperatingSystem plug-in 2 - Register contexts can use all of the LLDB enumerations and definitions for things like lldb::Format, lldb::Encoding, generic register numbers, invalid registers numbers, etc. 3 - The code that generates the register context can use the program to calculate the register context contents (like offsets, register numbers, and more) 4 - True dynamic detection could be used where variables and types could be read from the target program itself in order to determine which registers are available since the target is passed into the python function. This is designed to be used instead of XML since it is more dynamic and code flow and functions can be used to make the dictionary. llvm-svn: 192646
-
Fariborz Jahanian authored
migration to NS_ENUM/NS_OPTIONS macros; when typedef'ed to NSInteger/NSUInteger preceeds well before of the enum declaration. // rdar://15201056 llvm-svn: 192645
-
Richard Smith authored
that looks like a function declaration, except that it's missing a return type, try typo-correcting it to the relevant constructor name. In passing, fix a bug where the missing-type-specifier recovery codepath would drop a preceding scope specifier on the floor, leading to follow-on diagnostics and incorrect recovery for the auto-in-c++98 hack. llvm-svn: 192644
-
Ted Kremenek authored
Add has_feature support for reflecting the presence of refined Objective-C ABI mangling for qualified id<...>. Fixes <rdar://problem/14799110>. llvm-svn: 192643
-
Rafael Espindola authored
llvm-svn: 192642
-
Joerg Sonnenberger authored
llvm-svn: 192641
-
Aaron Ballman authored
llvm-svn: 192640
-
Aaron Ballman authored
Switching some custom logic to using table-generated helper methods. This also removes an unnecessary diagnostic. llvm-svn: 192639
-