Simon Atanasyan
b828ebb5dd
[Mips] In case of executable file linking MIPS ABI requires to add even
...
undefined symbols to '.dynsym' if these symbols have corresponding entries
in a global part of GOT.
llvm-svn: 200716
2014-02-03 20:10:40 +00:00
Simon Atanasyan
0912fe06dc
[Mips] Unify #include guard names.
...
llvm-svn: 200715
2014-02-03 20:10:30 +00:00
Richard Smith
d7d11ef5c1
PR17846, PR17848: don't build a VarTemplateSpecializationDecl for a use of a
...
variable template until we know what the template arguments actually are.
llvm-svn: 200714
2014-02-03 20:09:56 +00:00
Enrico Granata
d8e4584cbd
<rdar://problem/15154623>
...
Move a couple formatters from category AppKit to CoreFoundation
llvm-svn: 200713
2014-02-03 19:46:31 +00:00
Rui Ueyama
153ee54008
Untabify.
...
llvm-svn: 200712
2014-02-03 19:07:38 +00:00
Reid Kleckner
b78257d0c1
[ms-cxxabi] Fix cast when structor replacement is an alias
...
llvm-svn: 200711
2014-02-03 18:54:51 +00:00
Alexander Kornienko
7a712cea71
Allow specifying a custom PathDiagnosticConsumer for use with the static analyzer.
...
Summary:
Make objects returned by CreateAnalysisConsumer expose an interface,
that allows providing a custom PathDiagnosticConsumer, so that users can have
raw data in a form easily usable from the code (unlike plist/HTML in a file).
Reviewers: jordan_rose, krememek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2556
llvm-svn: 200710
2014-02-03 18:37:50 +00:00
Joerg Sonnenberger
d5e2f094d4
Test cases for NetBSD/eARM
...
llvm-svn: 200709
2014-02-03 17:46:52 +00:00
Tim Northover
02e38609e7
ARM: implement support for crypto intrinsics in arm_neon.h
...
llvm-svn: 200708
2014-02-03 17:28:04 +00:00
Tim Northover
51ab388266
AArch64: use new non-polymorphic crypto intrinsics
...
The LLVM backend now has invariant types on the various crypto-intrinsics,
because in all cases there's only really one interpretation.
llvm-svn: 200707
2014-02-03 17:28:00 +00:00
Tim Northover
24979d8e10
AArch64 & ARM: refactor crypto intrinsics to take scalars
...
Some of the SHA instructions take a scalar i32 as one argument (largely because
they work on 160-bit hash fragments). This wasn't reflected in the IR
previously, with ARM and AArch64 choosing different types (<4 x i32> and <1 x
i32> respectively) which was ugly.
This makes all the affected intrinsics take a uniform "i32", allowing them to
become non-polymorphic at the same time.
llvm-svn: 200706
2014-02-03 17:27:49 +00:00
Hal Finkel
5c968d9440
Expand vector bswap in LegalizeVectorOps
...
ISD::BSWAP was missing from the list of node types that should be expanded
element-wise.
llvm-svn: 200705
2014-02-03 17:27:25 +00:00
Aaron Ballman
42f6622b28
Undef'ing _WIN32_IE to silence an MSVC warning about redefining a macro value.
...
No functional change intended.
llvm-svn: 200704
2014-02-03 17:20:26 +00:00
Alexander Potapenko
f6ff6b0929
[libsanitizer] Workaround for https://code.google.com/p/address-sanitizer/issues/detail?id=261
...
If pthread_get_stacksize_np() returns 512K for the main thread on Mavericks, obtain the stack size from the current stack rlimit.
llvm-svn: 200703
2014-02-03 16:42:29 +00:00
Alexander Kornienko
6d129d5454
Fix crash when handling an argument parsing-related warning.
...
Summary: Don't crash on warnings coming before the translation unit starts.
Reviewers: klimek, djasper
Reviewed By: djasper
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2676
llvm-svn: 200702
2014-02-03 15:55:35 +00:00
Alexander Potapenko
8d58767b34
[libsanitizer] Follow-up for r200700: add the new header to CMakeLists.txt and make it empty on non-Mac.
...
llvm-svn: 200701
2014-02-03 15:45:03 +00:00
Alexander Potapenko
768e315a74
[ASan] Move GetMacosVersion() to sanitizer_common.
...
llvm-svn: 200700
2014-02-03 15:32:19 +00:00
Venkatraman Govindaraju
5a96c87b7e
Add a note about Clang+LLVM on Sparc64.
...
llvm-svn: 200699
2014-02-03 15:28:26 +00:00
Evgeniy Stepanov
1fc9e61356
[asan] asan_device_setup.sh: allow overriding adb path.
...
llvm-svn: 200698
2014-02-03 15:12:09 +00:00
Eli Bendersky
309e77fbe2
Remove outdated & incorrect part of comment.
...
This comment was copied over from another class in r34170, where it made sense.
llvm-svn: 200697
2014-02-03 14:33:51 +00:00
Evgeniy Stepanov
756e1c1e4b
[asan] Reinitialize allocator quarantine on activation.
...
This is covered by AddressSanitizer.UAF_* tests in asan_test
with start_deactivated=1.
llvm-svn: 200696
2014-02-03 14:19:08 +00:00
Evgeniy Stepanov
c7b7e2569c
Don't use -ffunction-sections if -fno-function-sections is not supported in the compiler.
...
This will disable -ffunction-sections in older versions of Clang where it
breaks build of sanitizer runtime library.
llvm-svn: 200695
2014-02-03 13:57:09 +00:00
Chandler Carruth
784de75ca8
Introduce SmallPtrSetImpl<T *> which allows insert, erase, count, and
...
iteration. This alows the majority of operations to be performed without
encoding a specific small size. It follows the model of
SmallVectorImpl<T>.
llvm-svn: 200688
2014-02-03 11:24:21 +00:00
Chandler Carruth
173bd7ed2e
Rename the non-templated base class of SmallPtrSet to
...
'SmallPtrSetImplBase'. This more closely matches the organization of
SmallVector and should allow introducing a SmallPtrSetImpl which serves
the same purpose as SmallVectorImpl: isolating the element type from the
particular small size chosen. This in turn allows a lot of
simplification of APIs by not coding them against a specific small size
which is rarely needed.
llvm-svn: 200687
2014-02-03 11:24:18 +00:00
Evgeniy Stepanov
bd2b3177da
[sanitizer] Resubmit r200683: disable -ffunction-sections.
...
llvm-svn: 200686
2014-02-03 11:16:41 +00:00
Evgeniy Stepanov
9e7cb33b17
Fix handling of -fno-function-sections, -fno-data-sections in clang driver.
...
llvm-svn: 200685
2014-02-03 11:11:37 +00:00
Evgeniy Stepanov
fe437f0a8f
Revert r200683.
...
-fno-function-sections is broken in Clang.
llvm-svn: 200684
2014-02-03 10:52:53 +00:00
Evgeniy Stepanov
aa0d7dee77
[sanitizer] Disable -ffunction-sections.
...
It breaks when a binary is linked with --gc-sections: parts of sanitizer
interface get thrown away and inaccessible from dlopen-ed libs.
llvm-svn: 200683
2014-02-03 10:15:08 +00:00
Evgeniy Stepanov
04e841c047
[msan] Fix a typo.
...
Spotted by Keno Fischer.
llvm-svn: 200682
2014-02-03 07:27:01 +00:00
Richard Smith
2eaf206455
Fix typo 'uusal'.
...
llvm-svn: 200681
2014-02-03 07:04:10 +00:00
Richard Smith
5e34db94bb
Fix typo in CSS class name.
...
llvm-svn: 200680
2014-02-03 07:02:19 +00:00
Richard Smith
7fe896251d
Clang 3.4 was released, make the boxes green.
...
llvm-svn: 200679
2014-02-03 06:58:08 +00:00
Richard Smith
c94410bc8d
Tests for DR331-350.
...
llvm-svn: 200678
2014-02-03 06:34:23 +00:00
Craig Topper
e7a9ee5c4a
Remove unnecessary include of AArch64GenInstrInfo.inc from AArch64Disassembler.cpp. None of the GET_ defines were set that would make the include do anything.
...
llvm-svn: 200677
2014-02-03 06:33:17 +00:00
Shankar Easwaran
6e0e1bc859
[ELF] change LayoutBefore Reference to InGroup Reference
...
This makes it a lot easier for Section Group design.
llvm-svn: 200675
2014-02-03 04:01:14 +00:00
Richard Smith
209bbb7774
Update C++ DR page now 3.4 has been released.
...
llvm-svn: 200674
2014-02-03 02:40:25 +00:00
Richard Smith
91dfaacd38
Implement DR329. We already did the right thing here in C++98 mode, but r104014
...
(which implemented the DR) was disabled in C++11.
llvm-svn: 200673
2014-02-03 02:37:59 +00:00
Richard Smith
9f38709193
Tests for DR321-330.
...
llvm-svn: 200672
2014-02-03 02:13:49 +00:00
Richard Smith
6938adbd16
Tests for DR301-320.
...
llvm-svn: 200671
2014-02-03 01:23:27 +00:00
David Majnemer
04606bda08
MS ABI: Fix some layout tests
...
Some lines intended to be used for testing x86_64 ABI compatibility were
not firing because lines were annotated with the wrong FileCheck prefix:
X64 vs x64
N.B. Changes beyond just changing x64 to X64 were made, presumably
because other parts of the layout engine have changed. I've verified
the changes to make sure that MSVC creates a compatible layout.
llvm-svn: 200670
2014-02-03 00:29:57 +00:00
Joerg Sonnenberger
e7f9759fd9
Handle O32/N64 ABIs for NetBSD/MIPS64. From Matt Thomas.
...
llvm-svn: 200668
2014-02-02 22:59:16 +00:00
Joerg Sonnenberger
d68c650489
Replace hasMipsN32ABIArg with hasMipsABIArg in preparation of o32/n64
...
support.
llvm-svn: 200667
2014-02-02 22:54:18 +00:00
Joerg Sonnenberger
6cd7deb9fe
Use a switch for the emulation handling.
...
llvm-svn: 200666
2014-02-02 22:50:34 +00:00
Joerg Sonnenberger
25de31d472
Handle compat support for EABI/old APCS compatibility on NetBSD/ARM.
...
llvm-svn: 200665
2014-02-02 22:47:37 +00:00
Duncan P. N. Exon Smith
1ff08e389f
Lower llvm.expect intrinsic correctly for i1
...
LowerExpectIntrinsic previously only understood the idiom of an expect
intrinsic followed by a comparison with zero. For llvm.expect.i1, the
comparison would be stripped by the early-cse pass.
Patch by Daniel Micay.
llvm-svn: 200664
2014-02-02 22:43:55 +00:00
Joerg Sonnenberger
d11c478ac3
Replace hasMipsN32ABIArg by hasMipsABIArg to make it easier to add
...
support for o32 and n64.
llvm-svn: 200662
2014-02-02 22:40:33 +00:00
Joerg Sonnenberger
dc7a23c660
Pass down -mcpu for external assembler in thumb mode, too. From Matt Thomas.
...
llvm-svn: 200661
2014-02-02 22:37:14 +00:00
Joerg Sonnenberger
1e205ef7cf
Minor formatting improvement.
...
llvm-svn: 200659
2014-02-02 22:36:13 +00:00
Joerg Sonnenberger
ec39cc6165
Test pre-defined macros of aarch64-netbsd.
...
llvm-svn: 200656
2014-02-02 21:55:32 +00:00
Joerg Sonnenberger
9864bd5858
NetBSD uses signed wchar_t on AArch64. It also wants __LITTLE_ENDIAN__ /
...
__BIG_ENDIAN__ as on other architectures.
llvm-svn: 200655
2014-02-02 21:55:10 +00:00