Aaron Ballman
9ab670fb54
Removing a switch statement that contains only a default label. This resolves an MSVC warning. No functional change intended.
...
llvm-svn: 193649
2013-10-29 20:40:52 +00:00
Chris Wailes
9385f9f7c3
Changed tests_typestate to test_typestate for consistency.
...
llvm-svn: 193648
2013-10-29 20:28:41 +00:00
Evgeniy Stepanov
e8cd2fad0e
[asan] Maybe fix test failures on lld bots.
...
llvm-svn: 193647
2013-10-29 20:06:12 +00:00
Rui Ueyama
5c8d4dd73f
[PECOFF] Suppress startup message of background processes.
...
llvm-svn: 193646
2013-10-29 19:52:44 +00:00
Evgeniy Stepanov
bf60342d47
[sanitizer] Intercept sincos, remquo, lgamma, lgamma_r.
...
llvm-svn: 193645
2013-10-29 19:49:35 +00:00
Evgeniy Stepanov
4ae68468cd
Add -lm to sanitizer link arguments.
...
We'll need to intercept a few function in libm.
llvm-svn: 193644
2013-10-29 19:48:47 +00:00
Evgeniy Stepanov
ae2f76fb78
[msandr] Add support for standalone test.
...
Add macro MSANDR_STANDALONE_TEST for standalone test without msan executables.
Patch by Qin Zhao.
llvm-svn: 193643
2013-10-29 19:44:47 +00:00
Rafael Espindola
8c8711207c
Add support for the separate version of /FI.
...
Patch by Jeff Muizelaar.
llvm-svn: 193642
2013-10-29 19:42:01 +00:00
Akira Hatanaka
6b2d841975
[mips] Align the stack to 16-bytes for mfp64.
...
llvm-svn: 193641
2013-10-29 19:29:03 +00:00
Akira Hatanaka
618b29813a
[mips] Align the stack to 16-bytes for -mfp64.
...
llvm-svn: 193640
2013-10-29 19:00:35 +00:00
Evgeniy Stepanov
596d108feb
[tsan] Fix unused variable warnings.
...
llvm-svn: 193639
2013-10-29 18:44:52 +00:00
Akira Hatanaka
ddd6634340
[mips] Use the distance between the current argument's starting address and
...
the previous argument's ending address to compute the type of the padding
argument.
No intended functionality change.
llvm-svn: 193638
2013-10-29 18:41:15 +00:00
Rafael Espindola
88034af278
Remove declared but not implemented function.
...
llvm-svn: 193637
2013-10-29 18:31:14 +00:00
Akira Hatanaka
9064e36551
[mips] Move setDescriptionString to base class MipsTargetInfoBase and call it
...
at the end of handleTargetFeatures.
No intended functionality change.
llvm-svn: 193636
2013-10-29 18:30:33 +00:00
Evgeniy Stepanov
7d24620b6d
[asan] Fix build.
...
llvm-svn: 193635
2013-10-29 18:29:39 +00:00
Evgeniy Stepanov
02839ced75
[sanitizer] Fix build warnings.
...
llvm-svn: 193634
2013-10-29 18:24:06 +00:00
Evgeniy Stepanov
477f8b73a5
[sanitizer] Ptrace syscall handler.
...
llvm-svn: 193633
2013-10-29 17:59:45 +00:00
Benjamin Kramer
3b32b2ff10
Fix common typos in the docs.
...
llvm-svn: 193632
2013-10-29 17:53:27 +00:00
Enrico Granata
df7c7f99ba
Fixing an issue in yesterday's dynamic type changes where we would not craft a valid SBType given debug information
...
Added a test case to help us detect regression in this realm
llvm-svn: 193631
2013-10-29 17:42:02 +00:00
Rafael Espindola
e133ed88b5
Move getSymbol to TargetLoweringObjectFile.
...
This allows constructing a Mangler with just a TargetMachine.
llvm-svn: 193630
2013-10-29 17:28:26 +00:00
Manman Ren
75cc7658e1
Debug Info: clean up testing case.
...
Add a tag before the name attribute for readability. Use CHECK-NEXT
instead of CHECK-NOT followed by a CHECK. Add new lines to separate checking
of different DIEs.
llvm-svn: 193629
2013-10-29 17:27:14 +00:00
Andrew Kaylor
2c206688db
Fixing TestAnonymous to build dwarf where it says it will.
...
llvm-svn: 193628
2013-10-29 17:09:59 +00:00
Rafael Espindola
79858aa3df
Add a helper getSymbol to AsmPrinter.
...
llvm-svn: 193627
2013-10-29 17:07:16 +00:00
Weiming Zhao
acf48d75e5
add test cases for frameaddr and returnaddr for aarch64
...
llvm-svn: 193626
2013-10-29 17:01:29 +00:00
Weiming Zhao
ffade617bd
[AArch64] Implement FrameAddr and ReturnAddr
...
Fixes PR17690
llvm-svn: 193625
2013-10-29 17:00:25 +00:00
Amara Emerson
f9a67fce26
[ARM] Make sure HasCRC is initialized to false in Subtarget.
...
llvm-svn: 193624
2013-10-29 16:54:52 +00:00
Zoran Jovanovic
507e084a18
Support for microMIPS jump instructions
...
llvm-svn: 193623
2013-10-29 16:38:59 +00:00
Tom Stellard
08ded12ffb
R600: Add Sea Islands GPUs
...
llvm-svn: 193622
2013-10-29 16:38:29 +00:00
Tom Stellard
6e1ee476ab
R600/SI: Add compute support for CI v2
...
v2:
- Fix LDS size calculation
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 193621
2013-10-29 16:37:28 +00:00
Tom Stellard
e118b8becd
R600: Expand vector FSQRT ops
...
llvm-svn: 193620
2013-10-29 16:37:20 +00:00
Alexey Samsonov
cbd806aef8
DWARF parser: propery handle DW_FORM_ref_sig8 and fix Windows build.
...
Based on D2050 by Timur Iskhodzhanov.
llvm-svn: 193619
2013-10-29 16:32:19 +00:00
Rafael Espindola
7d78b2ae3a
The asm printer has a mangler. Use it.
...
llvm-svn: 193618
2013-10-29 16:24:21 +00:00
Rafael Espindola
69c1d631f2
The AsmPrinter has a Mangler. Use it.
...
llvm-svn: 193617
2013-10-29 16:18:15 +00:00
Rafael Espindola
38c2e65e78
The asm printer has a mangler. Don't keep a second pointer to it.
...
llvm-svn: 193616
2013-10-29 16:11:22 +00:00
Kostya Serebryany
2a9b70cb4c
[asan] increase the max malloc size from 8Gb to 64Gb
...
llvm-svn: 193615
2013-10-29 15:16:54 +00:00
Daniel Jasper
dd978ae0e1
clang-format: Option to control spacing in template argument lists.
...
Same as SpacesInParentheses, this option allows adding a space inside
the '<' and '>' of a template parameter list.
Patch by Christopher Olsen.
This fixes llvm.org/PR17301.
llvm-svn: 193614
2013-10-29 14:52:02 +00:00
Samuel Benzaquen
f34ac3ed2c
Resubmit "Refactor DynTypedMatcher into a value type class, just like Matcher<T>."
...
Summary: This resubmits r193100, plus a fix for a breakage with MSVC.
Reviewers: klimek, rnk
CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D2005
llvm-svn: 193613
2013-10-29 14:37:15 +00:00
Rafael Espindola
e804b1a44e
Support names like llvm-ar-3.4 and llvm-ranlib-3.4.
...
They are used in some packages. For example:
http://packages.ubuntu.com/saucy/i386/llvm-3.4/filelist
This fixes pr17721.
llvm-svn: 193612
2013-10-29 14:25:43 +00:00
Bernard Ogden
fce246f0c6
Test cleanup for v8 instructions
...
Add some missing tests, factor out a test not specific to v8 into
its own file.
llvm-svn: 193611
2013-10-29 14:16:09 +00:00
Timur Iskhodzhanov
66f4381b39
Fix an assertion when handling a custom case of virtual inheritance; also reduce code duplication
...
llvm-svn: 193610
2013-10-29 14:13:45 +00:00
Rafael Espindola
5d1b745689
Clarify that GlobalVariables definitions must have an initializer.
...
llvm-svn: 193609
2013-10-29 13:44:11 +00:00
Timur Iskhodzhanov
d7354bb354
Add a missing lit-test expectation (forgotten to write initially?)
...
llvm-svn: 193608
2013-10-29 13:29:32 +00:00
Sylvestre Ledru
9f453d27bf
Use LLVMLibsOptions intead of LDFLAGS when setting the libclang soname. This allows 'make LDFLAGS=foo' to be set correctly (and matches the way it is done with libllvm and liblldb)
...
llvm-svn: 193607
2013-10-29 13:01:41 +00:00
Tim Northover
58d2bb12ff
ARM: fix AST for __builtin_arm_strex call
...
The AST was constructed so that this builtin returned the default BoolTy and
since I'd opted for custom SemaChecking, I should have set it properly at that
point.
This caused an assertion failure when the types didn't match up with what we
generated. This makes it return an IntTy, which is as good as anything.
llvm-svn: 193606
2013-10-29 12:32:58 +00:00
Daniel Jasper
edc5f09175
clang-format: Fix overloaded operator for global-scoped conversions.
...
Before:
operator::A();
After:
operator ::A();
llvm-svn: 193605
2013-10-29 12:24:23 +00:00
Timur Iskhodzhanov
cb4e7550eb
Quick-fix DebugInfo build on Windows
...
MSVC can't comprehend
template<typename T, size_t N>
ArrayRef<T> makeArrayRef(const T (&Arr)[N]) {
return ArrayRef<T>(Arr);
}
if Arr is
static const uint8_t sizes[];
declared in a templated and defined a few lines later.
I'll send a proper fix (i.e. get rid of unnecessary templates) for review soon.
llvm-svn: 193604
2013-10-29 12:13:22 +00:00
Sylvestre Ledru
6a20b7e771
Fix a typo in my family name. Tobias: ;)
...
llvm-svn: 193603
2013-10-29 11:05:18 +00:00
Dmitry Vyukov
3e8432ee6c
tsan/asan: support pthread_setname_np to set thread names
...
llvm-svn: 193602
2013-10-29 10:30:39 +00:00
Chandler Carruth
da797048d9
Teach the driver to not try to use 'lib32' multilib spellings on ARM
...
which doesn't use that multilib. As a consequence, fix Clang's support
for cross compiling environments that were relying on this quirk to
ensure the correct library search path ordering.
This also re-instates the new test cases from Rafael's r193528 for
cross-compiling to ARM on Ubuntu 13.10 without any of the changes to the
existing test cases (they were no longer needed).
This solution was the result of a lot of IRC debugging and trying to
understand *exactly* what quirk was being relied upon. It took some time
for me to figure out that it was the use of 'lib32' is a multilib that
was throwing a wrench in the works.
In case you are thinking that its silly to use a multilib of 'lib' at
all, entertainingly, GCC does so as well (you can see it with the
.../lib/../lib/crt1.o pattern it uses), and the 2-phase sequence of
search paths (multilib followed by non-multilib) has observable (if
dubious) consequences. =/ Yuck.
llvm-svn: 193601
2013-10-29 10:27:30 +00:00
Bernard Ogden
18b5701a68
ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clang
...
Allow users to disable or enable CRC subtarget feature.
Differential Revision: http://llvm-reviews.chandlerc.com/D2037
llvm-svn: 193600
2013-10-29 09:47:51 +00:00