Alexey Samsonov
6a68a9117b
[Sanitizer] remove extra typename
...
llvm-svn: 170208
2012-12-14 15:37:35 +00:00
Dmitry Vyukov
5a3d15c126
tsan: add test for errno spoiling in signal handler
...
llvm-svn: 170207
2012-12-14 14:42:40 +00:00
Kostya Serebryany
673c052631
[sanitizer] add AllocatorLeakTest
...
llvm-svn: 170206
2012-12-14 14:20:29 +00:00
Dmitry Vyukov
be6005a0d5
tsan: add test for malloc/free in signal handler
...
llvm-svn: 170205
2012-12-14 13:56:27 +00:00
Evgeniy Stepanov
fb37510e96
Add MemorySanitizer.cpp to the lint script.
...
llvm-svn: 170204
2012-12-14 13:48:55 +00:00
Evgeniy Stepanov
9b72e991c6
Fix lint warnings in MemorySanitizer.cpp.
...
llvm-svn: 170203
2012-12-14 13:48:31 +00:00
Dmitry Vyukov
51b6e07deb
tsan: fix lint warning
...
llvm-svn: 170202
2012-12-14 13:46:03 +00:00
Chandler Carruth
58b3cb6cc2
The CellSPU backend is more than experimental, it's dead now...
...
llvm-svn: 170201
2012-12-14 13:44:05 +00:00
Chandler Carruth
1e83227942
Remove a section that was in 3.1's notes.
...
Just give a shout if this was actually still important....
llvm-svn: 170200
2012-12-14 13:43:59 +00:00
Evgeniy Stepanov
49175b237d
[msan] Origin stores and loads do not need explicit alignment.
...
Origin address is always 4 byte aligned, and the access type is always i32.
llvm-svn: 170199
2012-12-14 13:43:11 +00:00
Chandler Carruth
e6ccc13dbb
Remove several entries from the 3.2 release notes that were in the 3.1
...
release notes already. =]
llvm-svn: 170198
2012-12-14 13:41:02 +00:00
Chandler Carruth
7c5d60c01d
Fix the order of these sections of the release notes.
...
llvm-svn: 170197
2012-12-14 13:37:18 +00:00
Chandler Carruth
108d19e6b5
Add a rough draft of some content about the new SROA. I'll try to proof
...
read this and clean it up tomorrow, but hopefully it's a good
placeholder.
llvm-svn: 170196
2012-12-14 13:37:17 +00:00
Chandler Carruth
b745ac48a6
Delete a long-stale "if its ready" comment. All indications is that this
...
will look a bit different when we have time to get it ready to turn on,
and we won't likely need this reminder.
llvm-svn: 170195
2012-12-14 13:37:12 +00:00
Chandler Carruth
ec86541e9f
Provide some actual highlight bullets for Clang.
...
If anyone has better highlights (I'm obviously biased by the things that
I'm excited about) jump in and add them!
llvm-svn: 170194
2012-12-14 13:22:57 +00:00
Kostya Serebryany
025d64a1b9
[asan] more asan_allocator2 code: record the allocation stack trace, implement calloc/etc
...
llvm-svn: 170193
2012-12-14 13:16:19 +00:00
Evgeniy Stepanov
f18e3af11f
[msan] Refactor default shadow propagation and origin tracking.
...
This change moves the code for default shadow propagaition (handleShadowOr)
and origin tracking (setOriginForNaryOp) into a new builder-like class. Also
gets rid of handleShadowOrBinary.
llvm-svn: 170192
2012-12-14 12:54:18 +00:00
Dmitry Vyukov
5b375d84c0
tsan: fix build
...
llvm-svn: 170191
2012-12-14 12:24:11 +00:00
Kostya Serebryany
7dfb168eb8
[asan] more asan_allocator2 code: actually un/poison shadow on malloc/free
...
llvm-svn: 170190
2012-12-14 12:15:09 +00:00
Alexey Samsonov
cd1e68ebb1
[Sanitizer] use INTERCEPT_FUNCTION(foo) instead of CHECK(INTERCEPT_FUNCTION(foo)) - this check may fail on Linux if user program defines its own version of library function foo
...
llvm-svn: 170189
2012-12-14 11:52:02 +00:00
NAKAMURA Takumi
02f4395df6
Targets.cpp: [cygwin] Add the predefined macro "_X86_", according to newer version of cygwin/w32api.
...
llvm-svn: 170188
2012-12-14 10:17:26 +00:00
Dmitry Vyukov
34aef74a4d
tsan: disable allocator tests in debug build
...
llvm-svn: 170187
2012-12-14 10:17:22 +00:00
Dmitry Vyukov
ed6d54368c
tsan: comment out debug output in test
...
llvm-svn: 170186
2012-12-14 10:12:14 +00:00
Dmitry Vyukov
714accd917
tsan: add sanity test for Go runtime into presubmit test
...
llvm-svn: 170185
2012-12-14 10:10:57 +00:00
Dmitry Vyukov
e0c37640f7
tsan: add socketpair() interceptor and test
...
llvm-svn: 170184
2012-12-14 09:57:42 +00:00
Patrik Hagglund
55d6f47a37
Change TargetLowering::getLoadExtAction to take an MVT, instead of
...
EVT.
llvm-svn: 170183
2012-12-14 09:05:13 +00:00
Argyrios Kyrtzidis
26444c5243
Have Sema::ActOnStartOfFunctionDef return the declaration that was passed it.
...
This fixes the missing warning here:
struct S {
template <typename T>
void meth() {
char arr[3];
arr[4] = 0; // warning: array index 4 is past the end of the array
}
};
template <typename T>
void func() {
char arr[3];
arr[4] = 0; // no warning
}
llvm-svn: 170180
2012-12-14 06:54:03 +00:00
Argyrios Kyrtzidis
6fada2ddbd
Remove code from Sema::ActOnStartOfFunctionTemplateDef that duplicates what
...
Sema::ActOnStartOfFunctionDef is already doing.
llvm-svn: 170179
2012-12-14 06:53:58 +00:00
Nico Weber
b819108af7
fix another spello
...
llvm-svn: 170177
2012-12-14 02:41:18 +00:00
Nico Weber
696933606b
fix spello
...
llvm-svn: 170176
2012-12-14 02:40:09 +00:00
NAKAMURA Takumi
6780b68ff5
clang/test/CodeGenCXX/lambda-expressions.cpp: Relax expression for -Asserts.
...
"entry:" is not met in -Asserts build.
llvm-svn: 170175
2012-12-14 02:35:04 +00:00
Greg Clayton
136dff8725
Cleaned up the UUID mismatch just printing itself whenever it wants to by allowing an optional feedback stream to be passed along when getting the symbol vendor.
...
llvm-svn: 170174
2012-12-14 02:15:00 +00:00
Greg Clayton
fff17252a1
<rdar://problem/12878674>
...
Remove debug asserts.
llvm-svn: 170173
2012-12-14 02:13:44 +00:00
Nadav Rotem
d3a3c9fdd5
revert r170166 - disable the loop vectorizer.
...
llvm-svn: 170172
2012-12-14 01:57:00 +00:00
Sean Callanan
2dd8b49d05
Rmoved the old LLVM disassembler based on libedis.
...
llvm-svn: 170171
2012-12-14 01:29:59 +00:00
Ted Kremenek
45bb8db372
Refactor dump methods to make RegionBindingsRef printable in the debugger.
...
llvm-svn: 170170
2012-12-14 01:23:13 +00:00
Sean Callanan
06119a17ce
Made the struct test case actually use an expression
...
instead of falling through to the "frame variable"
code.
llvm-svn: 170169
2012-12-14 00:56:57 +00:00
Sean Callanan
fa3ab4599d
Some incorrect debug information caused LLDB
...
to report a structure with an array of size 1
at the end without accounting for that array
when reporting the struct's total size to Clang.
LLDB now coerces such an array to size 0.
<rdar://problem/12822204>
llvm-svn: 170168
2012-12-14 00:54:13 +00:00
Enrico Granata
dc3f4f90d1
Trigger the display of error and output in sourced commands from the result object's status instead of the presence of text in the error stream
...
This should be more consistent with the notion of command success/failure and avoids spewing warnings that the user might not care about
There will need to be an option to specify the level of verbosity desired (never show anything, only show failures, errors and warning, everything)
llvm-svn: 170167
2012-12-14 00:52:54 +00:00
Nadav Rotem
3b606d6fd5
Enable the loop vectorizer.
...
llvm-svn: 170166
2012-12-14 00:30:34 +00:00
Greg Clayton
6851099ed3
Fix a parser_type to get created with the right AST, and also make variables made from symbols to not be "void * const", but just "void *".
...
llvm-svn: 170165
2012-12-14 00:26:21 +00:00
Nadav Rotem
a633af3f68
Make the test less sensitive to the inline threshold.
...
llvm-svn: 170164
2012-12-14 00:26:15 +00:00
Enrico Granata
73f601fbd9
Fixing the -f option so that one specify multiple filters, e.g.
...
./dotest.py -C clang --arch x86_64 --arch i386 -v -t -f ObjCDataFormatterTestCase.test_appkit_with_dsym_and_run_command -f ObjCDataFormatterTestCase.test_appkit_with_dwarf_and_run_command -f TestObjCBuiltinTypes.test_with_dsym_and_python_api -f TestObjCBuiltinTypes.test_with_dwarf_and_python_api -f ObjCDataFormatterTestCase.test_appkit_with_dsym_and_run_command -f ObjCDataFormatterTestCase.test_appkit_with_dwarf_and_run_command -f TestObjCBuiltinTypes.test_with_dsym_and_python_api -f -TestObjCBuiltinTypes.test_with_dwarf_and_python_api
The previous implementation would only remember the last filter passed, and consequently break redo.py
llvm-svn: 170163
2012-12-14 00:07:09 +00:00
Nadav Rotem
b4ea4b3751
Disable the loop vectorizer.
...
llvm-svn: 170162
2012-12-14 00:02:07 +00:00
Enrico Granata
9e7b388589
<rdar://problem/11689939>
...
Supporting a compact display syntax for ObjC pointers where 0x00.....0 is replaced by a much more legible "nil"
e.g. this would show:
(NSArray *) $2 = nil
instead of:
(NSArray *) $2 = 0x0000000000000000 <nil>
llvm-svn: 170161
2012-12-13 23:50:33 +00:00
Eli Friedman
f5f4d2fd2e
Make sure the __invoke function for lambdas returns properly. Per bug report on IRC>
...
llvm-svn: 170160
2012-12-13 23:37:17 +00:00
Jakob Stoklund Olesen
7bb2f97a90
Use the new MI bundling API in MachineInstrBundle itself.
...
The new API is higher level than just manipulating the bundle flags
directly, and the setIsInsideBundle() function will disappear soon.
llvm-svn: 170159
2012-12-13 23:23:46 +00:00
Shuxin Yang
97e07bf211
Remove two popcount patterns which we are already able to recognize.
...
llvm-svn: 170158
2012-12-13 23:16:19 +00:00
Nadav Rotem
e5e28b48c8
Enable the Loop Vectorizer by default for O2 and O3. Disable if-conversion by default. I plan to revert this patch later today.
...
llvm-svn: 170157
2012-12-13 23:11:54 +00:00
David Blaikie
37fefc3f8d
Debug Info: add support to mark member variables as artificial
...
This is the LLVM portion of r170154.
llvm-svn: 170156
2012-12-13 22:43:07 +00:00