Kostya Serebryany
4d45b9b784
[asan] added tests for asan-initialization-order, patch by Reid Watson
...
llvm-svn: 163207
2012-09-05 09:07:02 +00:00
Abramo Bagnara
02b9553bdb
Fixed lexical decl context of out of line class template instantiations.
...
llvm-svn: 163206
2012-09-05 09:05:18 +00:00
Kostya Serebryany
5f5973df08
[asan] fix lint
...
llvm-svn: 163205
2012-09-05 09:00:18 +00:00
Alexey Samsonov
d83ccd067d
[ASan] hoist more compile flags to SANITIZER_COMMON_CFLAGS var and add the rest of flags/defs from old Makefile to CMake
...
llvm-svn: 163204
2012-09-05 09:00:03 +00:00
Silviu Baranga
3f40d87207
Fixed the DAG combiner to better handle the folding of AND nodes for vector types. The previous code was making the assumption that the length of the bitmask returned by isConstantSplat was equal to the size of the vector type. Now we first make sure that the splat value has at least the length of the vector lane type, then we only use as many fields as we have available in the splat value.
...
llvm-svn: 163203
2012-09-05 08:57:21 +00:00
Jin-Gu Kang
1a5e423602
Changing of type checking order on InitListExpr
...
- UnionType is checked eariler than RecordType.
llvm-svn: 163202
2012-09-05 08:37:43 +00:00
Alexey Samsonov
ab2c76711d
[ASan] Add CMake support for building ASan benchmarks
...
llvm-svn: 163201
2012-09-05 08:07:18 +00:00
Alexey Samsonov
c402cb62fd
[ASan] Add print_full_thread_history runtime option (on by default) that prints all full thread creation paths for threads involved in ASan error report
...
llvm-svn: 163200
2012-09-05 07:37:15 +00:00
Kostya Serebryany
2fa38f8ce0
[asan] extend the blacklist functionality to handle global-init. Patch by Reid Watson
...
llvm-svn: 163199
2012-09-05 07:29:56 +00:00
Craig Topper
81f06df699
Remove some of the patterns added in r163196. Increasing the complexity on insert_subvector into undef accomplishes the same thing.
...
llvm-svn: 163198
2012-09-05 07:26:35 +00:00
Alexey Samsonov
ceffb021c5
[Sanitizer] Remove implicit conversion of InternalScopedBuffer<T> to T*
...
llvm-svn: 163197
2012-09-05 07:23:44 +00:00
Craig Topper
f7c87d6eea
Add patterns for integer forms of VINSERTF128/VINSERTI128 folded with loads. Also add patterns to turn subvector inserts with loads to index 0 of an undef into VMOVAPS.
...
llvm-svn: 163196
2012-09-05 06:58:39 +00:00
Chad Rosier
5895edaf66
Add a FIXME that assumes we maintain backward compatibility until the next major release.
...
llvm-svn: 163195
2012-09-05 06:28:52 +00:00
Logan Chien
1b170de77a
Reorder the comments of EmitExceptionTable.
...
llvm-svn: 163194
2012-09-05 06:28:26 +00:00
Logan Chien
eeaaf65cb6
Fix UseInitArray option for MIPS target.
...
llvm-svn: 163193
2012-09-05 06:17:17 +00:00
Craig Topper
2db2353b21
Convert vextracti128/vextractf128 intrinsics to extract_subvector at DAG build time. Similar was previously done for vinserti128/vinsertf128. Add patterns for folding these extract_subvectors with stores.
...
llvm-svn: 163192
2012-09-05 05:48:09 +00:00
Marshall Clow
4a18731fa5
Removed Trie.h; unused in a long time
...
llvm-svn: 163191
2012-09-05 03:18:55 +00:00
Richard Smith
398bd48172
Remove redundant semicolons to fix -pedantic-errors build.
...
llvm-svn: 163190
2012-09-05 01:41:37 +00:00
Greg Clayton
3f839a3cee
<rdar://problem/12100588>
...
Don't crash when we can't resolve our stub to a symbol.
llvm-svn: 163189
2012-09-05 01:38:55 +00:00
Chad Rosier
87b3d03cc2
Update for r163187.
...
llvm-svn: 163188
2012-09-05 01:16:06 +00:00
Chad Rosier
a05ea0f3e3
Fix function name per coding standard.
...
llvm-svn: 163187
2012-09-05 01:15:43 +00:00
Chad Rosier
ba284b9b59
Fix function name per coding standard.
...
llvm-svn: 163186
2012-09-05 01:02:38 +00:00
Chad Rosier
18fcdcfb9e
[ms-inline asm] Add support for the nsdialect keyword in the Bitcode
...
Reader/Writer.
llvm-svn: 163185
2012-09-05 00:56:20 +00:00
Chad Rosier
9772d82df4
[ms-inline asm] Add the nsdialect keyword to the lexer.
...
llvm-svn: 163184
2012-09-05 00:51:02 +00:00
Greg Clayton
a28d2030e9
Fix the log channel used in Process.cpp.
...
llvm-svn: 163183
2012-09-05 00:37:58 +00:00
Chad Rosier
5aee94d4ee
[ms-inline asm] Update test case for r163181.
...
llvm-svn: 163182
2012-09-05 00:08:54 +00:00
Chad Rosier
f42fad6251
[ms-inline asm] Emit the (new) inline asm Non-Standard Dialect attribute.
...
llvm-svn: 163181
2012-09-05 00:08:17 +00:00
Dan Gohman
df476e5e93
Make provenance checking conservative in cases when
...
pointers-to-strong-pointers may be in play. These can lead to retains and
releases happening in unstructured ways, foiling the optimizer. This fixes
rdar://12150909.
llvm-svn: 163180
2012-09-04 23:16:20 +00:00
Jakub Staszak
e535c1a12e
BypassSlowDivision: Assign to reference, don't copy the object.
...
llvm-svn: 163179
2012-09-04 23:11:11 +00:00
Chad Rosier
eb31ef0577
[ms-inline asm] Set the inline assembly dialect in CodeGen.
...
llvm-svn: 163178
2012-09-04 23:08:24 +00:00
Jakob Stoklund Olesen
ade363e86c
Search the whole instruction for tied operands.
...
Implicit uses can be dynamically tied to defs. This will soon be used
for predicated instructions on ARM.
llvm-svn: 163177
2012-09-04 22:59:30 +00:00
Ted Kremenek
a0658790a3
Fix indentation.
...
llvm-svn: 163176
2012-09-04 22:48:59 +00:00
Chad Rosier
8b3014ea04
[ms-inline asm] Add the inline assembly dialect, AsmDialect, to the InlineAsm
...
class.
llvm-svn: 163175
2012-09-04 22:46:24 +00:00
Chad Rosier
38d24e6751
[ms-inline asm] Remove the Inline Asm Non-Standard Dialect attribute. This
...
implementation does not co-exist well with how the sideeffect and alignstack
attributes are handled. The reverts r161641.
llvm-svn: 163174
2012-09-04 22:29:45 +00:00
Chad Rosier
85fff2ac11
[ms-inline asm] Remove the Inline Asm Non-Standard Dialect attribute. This
...
implementation does not co-exist well with how the sideeffect and alignstack
attributes are handled.
llvm-svn: 163173
2012-09-04 22:23:54 +00:00
David Blaikie
d7086fb347
Make lit.cfg like the other lit.cfgs so it can be run standalone.
...
Relies on matching lit change in r163171.
llvm-svn: 163172
2012-09-04 22:23:37 +00:00
David Blaikie
f1a9a56567
[LIT] Add a clang_tools_extra_site_cfg to match the various other site_cfg.
...
This doesn't seem ideal, perhaps we could just keep the llvm_site_cfg and have
other config (clang and clang-tools-extra) derive their site_cfg from that.
Suggestions/complaints/ideas welcome.
llvm-svn: 163171
2012-09-04 22:09:04 +00:00
Enrico Granata
1364311f4d
Making the right thing with regards to disabling summaries on LLDB_DISABLE_PYTHON builds
...
llvm-svn: 163170
2012-09-04 22:04:50 +00:00
Jakub Staszak
85a7787588
Fix my previous patch (r163164). It does now what it is supposed to do:
...
Doesn't set MadeChange to TRUE if BypassSlowDivision doesn't change anything.
llvm-svn: 163165
2012-09-04 21:16:59 +00:00
Jakub Staszak
46beca6364
Return false if BypassSlowDivision doesn't change anything.
...
Also a few minor changes:
- use pre-inc instead of post-inc
- use isa instead of dyn_cast
- 80 col
- trailing spaces
llvm-svn: 163164
2012-09-04 20:48:24 +00:00
Greg Clayton
69fd4be5fb
Modified patch from Matt Kopec that fixes a process launch issue on linux where we wouldn't acquire the process run lock.
...
llvm-svn: 163163
2012-09-04 20:29:05 +00:00
Enrico Granata
39cf67e573
<rdar://problem/12068655> Make sure [NSDate distantPast] is formatted correctly
...
llvm-svn: 163162
2012-09-04 20:02:39 +00:00
Chad Rosier
7ea9ce7e64
Minor cleanup to improve code readability. No functional change intended.
...
llvm-svn: 163161
2012-09-04 19:50:17 +00:00
Jakub Staszak
ee2b3259f1
Remove unneeded code.
...
llvm-svn: 163160
2012-09-04 19:49:17 +00:00
Jordan Rose
7523d1a847
[analyzer] Don't use makeIntVal to create a floating-point value.
...
SimpleSValBuilder processes a couple trivial identities, including 'x - x'
and 'x ^ x' (both 0). However, the former could appear with arguments of
floating-point type, and we weren't checking for that. This started
triggering an assert with r163069, which checks that a constant value is
actually going to be used as an integer or pointer.
llvm-svn: 163159
2012-09-04 19:34:58 +00:00
Enrico Granata
7a204359dc
Editing a comment to make sure people know not to blame CFString.py for CFString summary errors
...
llvm-svn: 163157
2012-09-04 19:18:17 +00:00
Enrico Granata
f519628a10
Adding to files that were missing in the previous commit
...
llvm-svn: 163156
2012-09-04 18:48:21 +00:00
Enrico Granata
3467d80ba3
<rdar://problem/11485744> Implement important data formatters in C++. Have the Objective-C language runtime plugin expose class descriptors objects akin to the objc_runtime.py Pythonic implementation. Rewrite the data formatters for some core Cocoa classes in C++ instead of Python.
...
llvm-svn: 163155
2012-09-04 18:47:54 +00:00
Jakob Stoklund Olesen
d92e2bc2e9
Typo.
...
llvm-svn: 163154
2012-09-04 18:44:43 +00:00
Jakob Stoklund Olesen
9fceda741d
Actually use the MachineOperand field for isRegTiedToDefOperand().
...
The MachineOperand::TiedTo field was maintained, but not used.
This patch enables it in isRegTiedToDefOperand() and
isRegTiedToUseOperand() which are the actual functions use by the
register allocator.
llvm-svn: 163153
2012-09-04 18:43:25 +00:00