Dmitry Vyukov
86585ad319
asan: add memory prefetch to quarantine recycle
...
llvm-svn: 172216
2013-01-11 16:40:24 +00:00
Dmitry Vyukov
7c6c943782
asan: add memory prefetch to quarantine recycle
...
llvm-svn: 172215
2013-01-11 16:40:01 +00:00
Eli Bendersky
738fbca845
Fix bug in exception table allocation (PR13678)
...
Patch by Michael Muller.
llvm-svn: 172214
2013-01-11 16:33:30 +00:00
Dmitry Vyukov
f3a7087194
asan: improve allocator benchmark
...
llvm-svn: 172213
2013-01-11 16:22:53 +00:00
Daniel Jasper
d6a947f75f
Correct spacing around new and delete.
...
This fixes llvm.org/PR14913.
Before: A *a = new(placement) A;
After: A *a = new (placement) A;
llvm-svn: 172212
2013-01-11 16:09:04 +00:00
Alexander Kornienko
2cc2d60451
clang-format: a bit nicer error message.
...
llvm-svn: 172211
2013-01-11 16:03:45 +00:00
Dmitry Vyukov
f5fa4c8a77
asan: weaken memory ordering, it's expensive in current implementation
...
llvm-svn: 172210
2013-01-11 16:02:31 +00:00
Dmitry Vyukov
83c4a77265
asan: improve the benchmark
...
llvm-svn: 172209
2013-01-11 15:57:19 +00:00
David Chisnall
2ec1b10d8e
Enable the new (more C++-like, less broken) EH model when targeting the GNUstep
...
Objective-C runtime 1.7 or greater.
llvm-svn: 172207
2013-01-11 15:33:01 +00:00
Shankar Easwaran
7381db059a
add noinhibit exec option
...
llvm-svn: 172204
2013-01-11 15:11:47 +00:00
Dmitry Vyukov
af96edbad2
asan: fix format string in CHECK
...
llvm-svn: 172203
2013-01-11 15:07:49 +00:00
Shankar Easwaran
d127d8169a
add hexagon target to lld
...
llvm-svn: 172202
2013-01-11 15:01:04 +00:00
Enea Zaffanella
29e1c4b03e
Fixed an assertion failure triggered by invalid code.
...
Set invalid type of declarator after emitting error diagnostics,
so that it won't be later considered when instantiating the template.
Added test5_inst in test/SemaCXX/condition.cpp for non-regression.
llvm-svn: 172201
2013-01-11 14:34:39 +00:00
Daniel Jasper
fd8c4b1321
Improve handling of trailing declaration annotations.
...
Before:
void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) GUARDED_BY(
aaaaaaaaaaaaa);
After:
void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
GUARDED_BY(aaaaaaaaaaaaa);
Also did some formatting cleanups with clang-format on the way.
llvm-svn: 172200
2013-01-11 14:23:32 +00:00
Justin Holewinski
e3b7e2db70
Remove lib/Target/PTX directory. It was empty and obsolete but apparently git-svn does not remove empty directories.
...
llvm-svn: 172199
2013-01-11 13:14:17 +00:00
Dmitry Vyukov
edac64ad3f
asan: prevent inlining of cold function
...
llvm-svn: 172197
2013-01-11 11:39:59 +00:00
Daniel Jasper
2408a8c755
Improved formatting of constructor initializers
...
Added option to put each constructor initializer on its own line
if not all initializers fit on a single line. Enabling this for
Google style now as the style guide (arguable) suggests it. Not
sure whether we also want it for LLVM.
llvm-svn: 172196
2013-01-11 11:37:55 +00:00
Enea Zaffanella
392291f7dc
Test commit.
...
llvm-svn: 172195
2013-01-11 11:37:08 +00:00
Kostya Serebryany
9a7e8ddb21
[asan] fid asan_allocator2 build
...
llvm-svn: 172194
2013-01-11 11:27:42 +00:00
Dmitry Vyukov
008dba6aa0
asan: always pass allocator cache to Allocate()
...
llvm-svn: 172193
2013-01-11 11:15:48 +00:00
Dmitry Vyukov
b1c0dbe2c6
asan: faster quarantine
...
llvm-svn: 172192
2013-01-11 11:03:35 +00:00
Dmitry Vyukov
89698ecf8a
tsan: fix compiler warning
...
llvm-svn: 172191
2013-01-11 11:02:40 +00:00
Tim Northover
3a51aab390
Simplify writing floating types to assembly.
...
This removes previous special cases for each floating-point type in favour of a
shared codepath.
llvm-svn: 172189
2013-01-11 10:36:13 +00:00
Daniel Jasper
337816e48a
Refactor IndentState into two classes.
...
As we keep adding more stuff to it, this structure is easier to
maintain. At one point we might think about making it an actual
class with specific accessors, etc.
llvm-svn: 172188
2013-01-11 10:22:12 +00:00
Dmitry Vyukov
c14bb685a1
asan/tsan: fix bug in list implementation
...
llvm-svn: 172187
2013-01-11 10:15:13 +00:00
Nikola Smiljanic
c531dcc837
Pass false instead of 0 since isStar parameter of getArray has type bool. No functionality change.
...
llvm-svn: 172185
2013-01-11 08:33:05 +00:00
Dmitry Vyukov
0b7bce5ecf
asan: set ASAN_ALLOCATOR_VERSION=1 back
...
llvm-svn: 172184
2013-01-11 08:08:31 +00:00
Dmitry Vyukov
db0cf871d4
asan: Refactor asan memory quarantine.
...
llvm-svn: 172183
2013-01-11 08:07:43 +00:00
Nikola Smiljanic
9d22fb11ba
Fix spelling error and remove the part about CMake having experimental Ninja support since 2.8.9 has been released some time ago.
...
llvm-svn: 172182
2013-01-11 07:23:53 +00:00
Dmitry Vyukov
5cb6c62641
tsan: symbolize global variables
...
llvm-svn: 172181
2013-01-11 07:23:51 +00:00
Dmitry Vyukov
d08bd13ac8
llvm-symbolizer: add DATA command that allows to symbolize global variables.
...
Example:
>DATA bin/clang 0x26e8e40
<llvm::SparcSubTypeKV
<40799808 416
The last line is address and size of the object.
llvm-svn: 172180
2013-01-11 07:16:20 +00:00
Nikola Smiljanic
7835e3d1fe
Revert the line ending mess I made.
...
llvm-svn: 172179
2013-01-11 07:14:58 +00:00
Nadav Rotem
853fe0acb9
ARM Cost Model: We need to detect the max bitwidth of types in the loop in order to select the max vectorization factor.
...
We don't have a detailed analysis on which values are vectorized and which stay scalars in the vectorized loop so we use
another method. We look at reduction variables, loads and stores, which are the only ways to get information in and out
of loop iterations. If the data types are extended and truncated then the cost model will catch the cost of the vector
zext/sext/trunc operations.
llvm-svn: 172178
2013-01-11 07:11:59 +00:00
Nikola Smiljanic
f1bb07f1d8
Fix spelling error and remove the part about CMake having experimental Ninja support since 2.8.9 has been released some time ago.
...
llvm-svn: 172177
2013-01-11 07:09:00 +00:00
Michael Gottesman
5284bd013f
Converted test dont-tce-tail-marked-call.ll to use FileCheck.
...
llvm-svn: 172172
2013-01-11 04:16:35 +00:00
Michael Gottesman
93a0d49c7e
This commit is a 4x squash commit consisting of 4x functions converted to use FileCheck instead of grep.
...
Messages:
Converted test case trivial_codegen_tailcall.ll to use FileCheck.
Converted test return_constant.ll to use FileCheck instead of grep.
Converted test reorder_load.ll to use FileCheck instead of grep.
Converted test intervening-inst.ll to use FileCheck instead of grep.
llvm-svn: 172171
2013-01-11 04:12:53 +00:00
Anna Zaks
39a7692091
[analyzer] Rename the warning: state the issue before the hint of how it
...
can be fixed
llvm-svn: 172170
2013-01-11 03:52:44 +00:00
Anna Zaks
ca49e535ae
[analyzer]Recognize ivar invalidation protocol even if it was redeclared
...
This will get rid of some false positives as well as false negatives.
llvm-svn: 172169
2013-01-11 03:52:40 +00:00
Anna Zaks
2975cf27e4
[analyzer] Ivar invalidation: track ivars declared in categories.
...
llvm-svn: 172168
2013-01-11 03:52:37 +00:00
Enrico Granata
2500e767a0
Making the Unicode formatters visually nicer by using the same prefix characters as the compiler expects in C++ code
...
Also, marking the Unicode data formatters test cases as dataformatter related for the benefit for the --category flag in dotest.py
llvm-svn: 172167
2013-01-11 03:01:25 +00:00
NAKAMURA Takumi
2abe564806
Revert r172153, "llvm/lib/MC/MCParser/AsmParser.cpp: [ms-inline-asm] Fix a couple of undefined behaviors. Operand->needAddressOf() is not initialized at !Operand->isReg()."
...
It has been redundant since r172157.
llvm-svn: 172166
2013-01-11 02:50:09 +00:00
Enrico Granata
3835204ade
<rdar://problem/11383764>
...
Making a data formatter for wchar_t *
llvm-svn: 172165
2013-01-11 02:44:00 +00:00
Jordan Rose
ceb1dbb41f
SMDiagnostic: don't emit ranges if there are /any/ multibyte characters.
...
Right now, only OS X has a way to determine the column width of a string
(PR14910). Until we have a good way to deal with this, we just won't
print carets, source ranges, or fixits for SMDiagnostic if the source line
has multibyte characters in it.
llvm-svn: 172164
2013-01-11 02:37:55 +00:00
Jordan Rose
78dd388afb
Revert "tg-fixits.td: fixup for Linux"
...
It's better to show no caret/ranges/fixits than to show them misaligned.
(It scares me a bit that Clang is going to show them misaligned on
systems without a proper llvm::sys::locale::columnWidth.) See PR14910.
This reverts commit a03cc72bedd015b7eb76e9ac650992f58a48549d.
llvm-svn: 172163
2013-01-11 02:37:47 +00:00
Sean Silva
92a44897a2
docs: Fix long standing linking antipattern.
...
Before we learned about :doc:, we used :ref: and put a dummy link at the
top of each page. Don't do that anymore.
This fixes PR14891 as a special case.
llvm-svn: 172162
2013-01-11 02:28:08 +00:00
Dmitri Gribenko
5ca49f71fd
Replace more usages of __func__ with LLVM_FUNCTION_NAME
...
llvm-svn: 172161
2013-01-11 02:23:13 +00:00
Sean Silva
216ff2ff29
docs: fix misleading description.
...
PR14890
llvm-svn: 172160
2013-01-11 01:54:16 +00:00
Michael Ilseman
6c6d715c15
Support for half intrinsics. Pushes MMX into slower encoding path.
...
llvm-svn: 172159
2013-01-11 01:45:05 +00:00
Dmitri Gribenko
9f08be0272
libclang logging: fixup for MSVC, which does not have __func__
...
llvm-svn: 172158
2013-01-11 01:15:02 +00:00
NAKAMURA Takumi
7f25427686
X86AsmParser.cpp: Fix up r172148, to add initializer in another CreateMem().
...
llvm-svn: 172157
2013-01-11 01:13:54 +00:00