Alexander Potapenko
c192af29f5
[ASan] Remove the replace_cfallocator flag, which is used no more.
...
See https://code.google.com/p/address-sanitizer/issues/detail?id=10 for the context.
llvm-svn: 174629
2013-02-07 15:59:37 +00:00
Alexander Potapenko
dc91edad59
[ASan] Enable alloc_dealloc_mismatch by default on Darwin.
...
Enable AddressSanitizer.AllocDeallocMismatch tests.
llvm-svn: 174628
2013-02-07 15:55:21 +00:00
Tim Northover
ed9eae90d4
FileCheckize volatile test
...
llvm-svn: 174627
2013-02-07 15:39:16 +00:00
Alexander Potapenko
4fb43438d9
[ASan] Enable the new and delete wrappers on Darwin.
...
Also fix large_func_test.cc, which got broken when we switched to allocator2: the OOB access was too far from the original allocation, so ASan decided to describe the next one.
llvm-svn: 174626
2013-02-07 15:33:56 +00:00
Howard Hinnant
aba500d633
Revert accidental check-in. These changes are probably good, but premature at this point.
...
llvm-svn: 174625
2013-02-07 15:31:44 +00:00
Dmitry Vyukov
effd98b0f4
tsan: intercept libc __res_iclose
...
this is required to catch close of file descriptors created in getaddrinfo()
llvm-svn: 174624
2013-02-07 15:27:45 +00:00
Howard Hinnant
804f9116e5
Michael van der Westhuizen: The attached patch add support for building against libc++abi and libcxxrt to CMake builds of libc++.
...
Usage (with the appropriate CC and CXX environment variables) is:
$ cmake -DLIBCXX_CXX_ABI=libcxxabi '-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=/home/michael/libcxxabi/include' ../libcxx
and:
$ cmake -DLIBCXX_CXX_ABI=libcxxrt '-DLIBCXX_LIBCXXRT_INCLUDE_PATHS=/home/michael/libcxxrt/src' ../libcxx
llvm-svn: 174623
2013-02-07 15:27:39 +00:00
Dmitry Vyukov
e94f4c048e
tsan: fix Go build
...
llvm-svn: 174622
2013-02-07 15:26:55 +00:00
Tim Northover
ffed8fe5c9
Only check for volatile memcpys in test.
...
AArch64 handles aggFct's return struct slightly differently, leading
to an extra memcpy. This test is fortunately only concerned about
volatile copies, so we can modify the grep text to filter it.
llvm-svn: 174621
2013-02-07 15:11:48 +00:00
Tim Northover
570b7478fa
Add AArch64 wchar definition to test
...
This should allow it to pass if the default triple is AArch64
llvm-svn: 174620
2013-02-07 15:11:44 +00:00
Tim Northover
7df5c0df3b
XFAIL test that's inappropriate for AArch64 ABI
...
Only some ABIs require the "signext" attribute on parameters. On most
platforms, however, it's a useful test so it's best not to limit it to some
random arbitrary platform.
llvm-svn: 174619
2013-02-07 15:11:40 +00:00
Tim Northover
dd9809dd72
Permit ABIs where the caller extends the result (test change).
...
This test was written to make sure *something* sane is generated, not
to test any ABI's signedness semantics.
This should allow the test to pass if AArch64 is the default target.
llvm-svn: 174618
2013-02-07 15:11:36 +00:00
Kostya Serebryany
39675fe9c8
[sanitizer] always allocate 16-byte aligned chunks of memory
...
llvm-svn: 174617
2013-02-07 15:04:06 +00:00
Alexander Potapenko
109aa04ea9
[sanitizer_common] Fix lint warnings.
...
llvm-svn: 174616
2013-02-07 14:58:04 +00:00
Michel Danzer
349cabed2f
R600/SI: Add pattern for flog2
...
22 more little piglits with radeonsi.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 174615
2013-02-07 14:55:16 +00:00
NAKAMURA Takumi
14727d7c68
FDE::dumpHeader(): Forgot to fix one more formatting, ... take two!
...
Excuse me, I could not test it locally.
llvm-svn: 174614
2013-02-07 14:54:42 +00:00
Dmitri Gribenko
50e5924e43
Documentation: fix typo: stdard -> stdarg
...
llvm-svn: 174613
2013-02-07 14:48:33 +00:00
Dmitri Gribenko
90ccd44e94
Documentation: add information about builtin includes to FAQ
...
llvm-svn: 174612
2013-02-07 14:36:37 +00:00
Marshall Clow
eb159ee704
Clean up some warnings for Linux build; No functionality change
...
llvm-svn: 174611
2013-02-07 14:22:51 +00:00
Tom Stellard
9355b22180
R600: Consolidate sub register indices.
...
Use sub0-15 everywhere.
Patch by: Michel Dänzerr
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 174610
2013-02-07 14:02:37 +00:00
Tom Stellard
e06163a9a6
R600: Add support for SET*_DX10 instructions
...
These instructions compare two floating point values and return an
integer true (-1) or false (0) value.
When compiling code generated by the Mesa GLSL frontend, the SET*_DX10
instructions save us four instructions for most branch decisions that
use floating-point comparisons.
llvm-svn: 174609
2013-02-07 14:02:35 +00:00
Tom Stellard
6d867e8d4d
R600: Add tests for unsupported condition codes.
...
All of the le and lt variants are unsupported.
llvm-svn: 174608
2013-02-07 14:02:33 +00:00
Tom Stellard
b40ada9b85
R600: Fix assembly name for SETGT_INT
...
llvm-svn: 174607
2013-02-07 14:02:27 +00:00
NAKAMURA Takumi
288c42e936
libclang: CursorVisitor::VisitBuiltinTypeLoc(): Add OCLSampler. [-Wswitch]
...
llvm-svn: 174606
2013-02-07 12:47:42 +00:00
Manuel Klimek
bee085762b
Implements equalsNode for Decl and Stmt.
...
This is a powerful tool when doing iterative refined matches,
where another match is started inside the match callback of the first
one; this allows for example to find out whether the node was in
the condition or body of its parent if-statement.
llvm-svn: 174605
2013-02-07 12:42:10 +00:00
Alexander Potapenko
07c740e213
[ASan] Fix a compilation warning.
...
llvm-svn: 174604
2013-02-07 12:00:40 +00:00
Alexander Potapenko
f444a49310
[ASan] Implement asan_mz_size(), asan_mz_force_lock() and asan_mz_force_unlock() for allocator2.
...
Switch to allocator2 on Darwin.
llvm-svn: 174603
2013-02-07 11:40:03 +00:00
NAKAMURA Takumi
94651f9da9
FDE::dumpHeader(): Forgot to fix one more formatting. It affected bigendian hosts.
...
llvm-svn: 174602
2013-02-07 10:57:42 +00:00
Guy Benyei
610541989a
Add OpenCL samplers as Clang builtin types and check sampler related restrictions.
...
llvm-svn: 174601
2013-02-07 10:55:47 +00:00
Evgeniy Stepanov
4ea6816247
[sanitizer] OFF_T on Mac is u64.
...
llvm-svn: 174600
2013-02-07 09:52:43 +00:00
Kostya Serebryany
df2f0bff37
[tsan] race_on_write test
...
llvm-svn: 174599
2013-02-07 09:48:17 +00:00
Evgeniy Stepanov
44f083d49b
[sanitizer] Exclude off64_t test on mac.
...
llvm-svn: 174598
2013-02-07 09:34:08 +00:00
Alexey Samsonov
b788512d11
[Sanitizer] include stddef.h for ptrdiff_t in interception type test
...
llvm-svn: 174597
2013-02-07 09:03:01 +00:00
Zonr Chang
2d5d8168ff
Implement aeabi_{f,d}cmp*.
...
Special thanks to Anton for the review.
llvm-svn: 174596
2013-02-07 08:29:47 +00:00
Kostya Serebryany
7b0b9b3b65
[msan] add strip_path_prefix flag; print error summary; don't crash while printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan.
...
llvm-svn: 174595
2013-02-07 08:04:56 +00:00
Evgeniy Stepanov
3e3d0be7de
[sanitizer] Add a missing header.
...
llvm-svn: 174594
2013-02-07 07:43:41 +00:00
Evgeniy Stepanov
8268785f44
[sanitizer] Fix wrong size of OFF_T on 32-bit platforms.
...
This broke pread/pwrite interceptors when building without
-D_FILE_OFFSET_BITS=64, and always on Android.
llvm-svn: 174593
2013-02-07 07:37:12 +00:00
Michael J. Spencer
ac4f444e39
[docs] lld self hosts.
...
llvm-svn: 174592
2013-02-07 07:26:45 +00:00
Owen Anderson
bfd2ce96c7
Remove this testcase until I can figure out how to properly conditionalize it.
...
llvm-svn: 174591
2013-02-07 07:01:54 +00:00
Michael J. Spencer
7799d15f6e
[Driver] Add -L and -l support.
...
llvm-svn: 174590
2013-02-07 06:47:17 +00:00
Michael J. Spencer
cfe59fd0d3
[Driver] Replace Target with TargetInfo. Simplify LinkerInput.
...
This removes Target and moves the functionality it had over to TargetInfo.
This also simplifies LinkerInput by removing the InputKind. This will be handled elsewhere.
llvm-svn: 174589
2013-02-07 06:46:48 +00:00
Owen Anderson
589baf98b4
Another attempt at getting the XFAIL line right for this test.
...
llvm-svn: 174588
2013-02-07 06:26:55 +00:00
Sean Silva
5672a3755b
[ReleaseNotes] tidy up organization and formatting
...
llvm-svn: 174587
2013-02-07 05:56:46 +00:00
Nadav Rotem
d58a614be5
Update Release notes regarding TTI.
...
llvm-svn: 174586
2013-02-07 05:44:58 +00:00
Nadav Rotem
e56b05822d
Document the loop vectorizer changes.
...
llvm-svn: 174585
2013-02-07 05:42:31 +00:00
Nick Lewycky
134af91b06
Apply the pure-virtual odr rule to other constructs which can call overloaded
...
operators.
llvm-svn: 174584
2013-02-07 05:08:22 +00:00
Reed Kotler
4a230ffa96
Make sure we call externals from libraries properly when -static.
...
For example, when we are doing mips16 hard float or soft float.
llvm-svn: 174583
2013-02-07 04:34:51 +00:00
Sean Silva
3b96424c43
tblgen: Diagnose duplicate includes.
...
A double inclusion will pretty much always be an error in TableGen, so
there's no point going on just to die with "def already defined" or
whatnot.
I'm not too thrilled about the "public: ... private: ..." to expose the
DependenciesMapTy, but I really didn't see a better way to keep that
type centralized. It's a smell that indicates that some refactoring is
needed to make this code more loosely coupled.
This should avoid all bugs of the same nature as PR15189.
llvm-svn: 174582
2013-02-07 04:30:39 +00:00
Michael Gottesman
697d8b9a26
Moved some comments due to the recent refactoring of ObjCARC.
...
1. Moved a comment from ObjCARCOpts.cpp -> ObjCARCContract.cpp.
2. Removed a comment from ObjCARCOpts.cpp that was already moved to
ObjCARCAliasAnalysis.h/.cpp.
llvm-svn: 174581
2013-02-07 04:12:57 +00:00
Reed Kotler
ec60f7d335
Enable jumps when in -static mode.
...
llvm-svn: 174580
2013-02-07 03:49:51 +00:00