| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This patch changes the behavior of the -fsanitize=address flag, making it use the dynamic runtime library (libclang_rt.asan_osx_dynamic.dylib) instead of the static one. It also drops the CoreFoundation dependency, since the dynamic runtime doesn't need it.
llvm-svn: 173135
|
| |
|
|
|
|
|
|
| |
This CL drastically simplifies the way we're hooking the memory allocation routines in ASan on Mac by using dylib interposition to replace the main malloc_zone_* functions. This allows us to avoid replacing the default CFAllocator and drop the CF dependency at all.
Committing this patch will result in the static runtime being broken. A follow-up CL will switch ASan to use the dynamic runtime library.
llvm-svn: 173134
|
| |
|
|
| |
llvm-svn: 173133
|
| |
|
|
|
|
| |
dynamic ASan runtime there
llvm-svn: 173132
|
| |
|
|
| |
llvm-svn: 173131
|
| |
|
|
| |
llvm-svn: 173130
|
| |
|
|
|
|
| |
building with a debug clang, which takes a couple of minutes on this large file with templates). More splits to follow
llvm-svn: 173129
|
| |
|
|
| |
llvm-svn: 173128
|
| |
|
|
|
|
| |
stage2. [-Wsign-compare]
llvm-svn: 173127
|
| |
|
|
|
|
|
| |
allows for gvn to perform certain optimizations. Thus the runline should
only contain -objc-arc-aa, not the full -objc-arc.
llvm-svn: 173126
|
| |
|
|
|
|
| |
enumeration (Throws an error as bit-field with non integral type)
llvm-svn: 173125
|
| |
|
|
|
|
| |
"Note that 'USEDLIBS' must include all of the core clang libraries when -static is given to linker on cygming."
llvm-svn: 173124
|
| |
|
|
|
|
| |
available.
llvm-svn: 173123
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were previously hard-coding a particular field index. This was
fine before (because we were obviously guaranteed the presence
of a copy/dispose member) except for (1) alignment padding and
(2) future extensions adding extra members to the header, such
as the extended-layout pointer.
Note that we only introduce the extended-layout pointer in the
presence of structs. (We also seem to be introducing it even
in the presence of an all-non-object layout, but that's a
different potential issue.)
llvm-svn: 173122
|
| |
|
|
|
|
| |
XFAIL:valgrind, for now. Working in progress.
llvm-svn: 173121
|
| |
|
|
| |
llvm-svn: 173120
|
| |
|
|
| |
llvm-svn: 173119
|
| |
|
|
|
|
|
| |
Avoids an error about an ambiguous constructor
call.
llvm-svn: 173118
|
| |
|
|
| |
llvm-svn: 173117
|
| |
|
|
| |
llvm-svn: 173116
|
| |
|
|
|
|
| |
tests. -O1 is sufficient here.
llvm-svn: 173115
|
| |
|
|
|
|
|
|
| |
FileCheck-ize.
@llvm.stacksave is emitted regardless of "opt -std-compile-opts". We have optimizers' tests in llvm/test/Transforms.
llvm-svn: 173114
|
| |
|
|
| |
llvm-svn: 173113
|
| |
|
|
|
|
| |
is OFF.
llvm-svn: 173112
|
| |
|
|
| |
llvm-svn: 173111
|
| |
|
|
|
|
| |
Manish already fixed this test to work with NoTTI.
llvm-svn: 173110
|
| |
|
|
|
|
| |
functional change.
llvm-svn: 173109
|
| |
|
|
| |
llvm-svn: 173108
|
| |
|
|
|
|
| |
key/value pair responses for qRegisterInfo with examples of single and multiple registers for each.
llvm-svn: 173107
|
| |
|
|
| |
llvm-svn: 173106
|
| |
|
|
|
|
| |
be raw hex to match all other register reading and writing APIs.
llvm-svn: 173105
|
| |
|
|
|
|
| |
Modified the ARM register context to invalidate r8 - r14 when the CPSR register is modified.
llvm-svn: 173104
|
| |
|
|
| |
llvm-svn: 173103
|
| |
|
|
|
|
| |
new "invalidate-regs" and "container-regs" keys that can be returned in response to a qRegisterInfo packet.
llvm-svn: 173102
|
| |
|
|
| |
llvm-svn: 173101
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We used to align trailing comments belong to different things.
Before:
void f() { // some function..
}
int a; // some variable..
After:
void f() { // some function..
}
int a; // some variable..
llvm-svn: 173100
|
| |
|
|
|
|
|
|
|
| |
Attribute.
This further restricts the use of the Attribute class to the Attribute family of
classes.
llvm-svn: 173099
|
| |
|
|
|
|
|
|
|
| |
Attribute.
This further restricts the use of the Attribute class to the Attribute family of
classes.
llvm-svn: 173098
|
| |
|
|
|
|
|
| |
an unimplemented selector is consumed by
"respondsToSelector:". // rdar://12938616
llvm-svn: 173097
|
| |
|
|
|
|
|
|
|
|
| |
Fixed the 32, 16, and 8 bit pseudo regs for x86_64 (real reg of "rax" which subvalues "eax", "ax", etc...) to correctly get updated when stepping. Also fixed it so actual registers can specify what other registers must be invalidated when a register is modified. Previously, only pseudo registers could invalidate other registers.
Modified the LLDB qRegisterInfo extension to the GDB remote interface to support specifying the containing registers with the new "container-regs" key whose value is a comma separated list of register numbers. Also added a "invalidate-regs" key whose value is also a comma separated list of register numbers.
Removed the hack GDBRemoteDynamicRegisterInfo::Addx86_64ConvenienceRegisters() function and modified "debugserver" to specify the registers correctly using the new "container-regs" and "invalidate-regs" keys.
llvm-svn: 173096
|
| |
|
|
|
|
|
|
|
| |
Attribute.
This is more code to isolate the use of the Attribute class to that of just
holding one attribute instead of a collection of attributes.
llvm-svn: 173095
|
| |
|
|
|
|
|
|
|
| |
Attribute.
This is more code to isolate the use of the Attribute class to that of just
holding one attribute instead of a collection of attributes.
llvm-svn: 173094
|
| |
|
|
|
|
|
|
|
| |
(sub 0, (sext bool to A)) to (zext bool to A).
Patch by Muhammad Ahmad
Reviewed by Duncan Sands
llvm-svn: 173093
|
| |
|
|
| |
llvm-svn: 173092
|
| |
|
|
| |
llvm-svn: 173090
|
| |
|
|
| |
llvm-svn: 173088
|
| |
|
|
| |
llvm-svn: 173087
|
| |
|
|
| |
llvm-svn: 173086
|
| |
|
|
| |
llvm-svn: 173085
|
| |
|
|
| |
llvm-svn: 173084
|