Jyotsna Verma
89c84821ea
Hexagon: Remove assembler mapped instruction definitions.
...
llvm-svn: 180133
2013-04-23 19:15:55 +00:00
Bob Wilson
03fa38aa5b
PR15820: Use tar instead of rsync to install the headers.
...
llvm-svn: 180132
2013-04-23 18:51:51 +00:00
Bill Schmidt
a76bf5a6d0
Change commentary for PowerPC Boolean vector contents.
...
No functional change intended.
llvm-svn: 180131
2013-04-23 18:49:44 +00:00
Akira Hatanaka
e9d0b318b1
[mips] Compare splat value with element size instead of calling isUIntN.
...
No intended changes in functionality.
llvm-svn: 180130
2013-04-23 18:09:42 +00:00
Owen Anderson
2d4cca35c3
DAGCombine should not aggressively fold SEXT(VSETCC(...)) into a wider VSETCC without first checking the target's vector boolean contents.
...
This exposed an issue with PowerPC AltiVec where it appears it was setting the wrong vector boolean contents. The included change
fixes the PowerPC tests, and was OK'd by Hal.
llvm-svn: 180129
2013-04-23 18:09:28 +00:00
Enrico Granata
a4f8741cfa
Splitting the appkit data formatters test in smaller test cases - this should enable us to get a more detailed perspective on which individual data formatters are broken
...
llvm-svn: 180128
2013-04-23 18:07:30 +00:00
Argyrios Kyrtzidis
c2233beba4
[libclang] Introduce a CXCursor_ObjCSelfExpr cursor, which is the equivalent of CXCursor_CXXThisExpr for C++ code.
...
rdar://13717006
llvm-svn: 180127
2013-04-23 17:57:17 +00:00
Daniel Malea
7a96af0627
Fix CheckPublicAPIHeaders test case
...
- LLDB C++ API requires C++11
- provide required -std=c++11 flag if none is specified
llvm-svn: 180126
2013-04-23 17:48:06 +00:00
Aaron Ballman
31c0adc68c
Testing for _XCR_XFEATURE_ENABLED_MASK instead of a specific MSVC version because some MSVC 2010 SP1 installations do not have the _xgetbv intrinsic. Patch thanks to Serge Pavlov!
...
llvm-svn: 180125
2013-04-23 17:38:44 +00:00
Vincent Lejeune
117f075f6e
R600: Use .AMDGPU.config section to emit stacksize
...
llvm-svn: 180124
2013-04-23 17:34:12 +00:00
Vincent Lejeune
b6bfe85a07
R600: Add CF_END
...
llvm-svn: 180123
2013-04-23 17:34:00 +00:00
Bob Wilson
01fee349d9
PR12597: Remove "chown -R root:wheel" from the makefile.
...
llvm-svn: 180122
2013-04-23 17:30:35 +00:00
Nadav Rotem
71c9d6d333
LoopVectorizer: Fix 15830. When scalarizing and unrolling stores make sure that the order in which the elements are scalarized is the same as the original order.
...
This fixes a miscompilation in FreeBSD's regex library.
llvm-svn: 180121
2013-04-23 17:12:42 +00:00
Jyotsna Verma
a696239bec
Hexagon: Remove duplicate instructions to handle global/immediate values
...
for absolute/absolute-set addressing modes.
llvm-svn: 180120
2013-04-23 17:11:46 +00:00
Pekka Jaaskelainen
d3c90e132a
Call the potentially costly isAnnotatedParallel() only once.
...
Made the uniform write test's checks a bit stricter.
llvm-svn: 180119
2013-04-23 16:44:43 +00:00
Stephen Lin
6c70dc7842
Add some constraints to use of 'returned':
...
1) Disallow 'returned' on parameter that is also 'sret' (no sensible semantics, as far as I can tell).
2) Conservatively disallow tail calls through 'returned' parameters that also are 'zext' or 'sext' (for consistency with treatment of other zero-extending and sign-extending operations in tail call position detection...can be revised later to handle situations that can be determined to be safe).
This is a new attribute that is not yet used, so there is no impact.
llvm-svn: 180118
2013-04-23 16:31:56 +00:00
Matt Kopec
038ff816e1
Look for an inexact match in just the commands before searching the alias commands as well.
...
llvm-svn: 180117
2013-04-23 16:17:32 +00:00
Dmitry Vyukov
c63d73e59d
tsan: support heap starting at 0x04c0 (used in some custom deplyments)
...
llvm-svn: 180116
2013-04-23 15:59:56 +00:00
Rafael Espindola
b716e622ae
Write relocations in yaml2obj.
...
llvm-svn: 180115
2013-04-23 15:53:02 +00:00
Daniel Malea
243b36931f
Fix linux argument completion with for "--" options (llvm.org/bugs/pr14425)
...
Patch by Yacine Belkadi!
When __GLIBC__ is defined, optind gets initialized to 0. So for the first parsed
option, parse_start is 0, too. If this option has no argument (Like "--continue"
of "process attach"), then the position stored is 0, instead of 1. This prevents
the completion later on in Options::HandleOptionCompletion() because the opt_pos
doesn't match the cursor_index.
Fix that by getting the option's position from the value of optind, as it's done
for the other types of options.
Re-enable test_process_attach_dash_dash_con() on Linux.
No regressions detected on Mac OS X (in TestCompletion.py)
llvm-svn: 180114
2013-04-23 15:28:10 +00:00
Dmitry Vyukov
43cf90f4d1
tsan: update Go memory mapping, Go now uses 0x00c0 heap base
...
llvm-svn: 180113
2013-04-23 15:24:26 +00:00
Tom Stellard
a1fd35a04c
Wrap.h: Define wrap / unwrap function for ExecutionEngine
...
llvm-svn: 180112
2013-04-23 15:13:36 +00:00
Ashok Thirumurthi
c140c631cb
Added 64-bit POSIX support to write general-purpose floating-point registers.
...
- Includes tests that write, verify and restore floating-point register content using SBFrame.
Reviewed by: Daniel Malea
llvm-svn: 180111
2013-04-23 14:59:02 +00:00
Benjamin Kramer
d408de6a2e
Make compares unsigned. The expression can't become negative anyways.
...
Silences a sign compare warning on 32 bit archs.
llvm-svn: 180110
2013-04-23 14:42:47 +00:00
Ashok Thirumurthi
33d7f3a234
Splits register_commands into a passing test on Linux (to improve test coverage),
...
and a failing test for register expressions.
Also factors out common setup code in preparation to add a few new tests.
Reviewed by: Daniel Malea
llvm-svn: 180109
2013-04-23 14:32:25 +00:00
Howard Hinnant
f8bb3e522d
Zero-initialize all mbstate_t in the codecvt tests.
...
llvm-svn: 180108
2013-04-23 14:09:35 +00:00
Evgeniy Stepanov
44b75efab4
[sanitizer] Intercept inet_pton and inet_ntop.
...
llvm-svn: 180107
2013-04-23 14:05:15 +00:00
Alexey Samsonov
bcd32a9525
[ASan] Disable strict-init-order checker once we have more than one thread, as this mode is thread-hostile
...
llvm-svn: 180106
2013-04-23 13:57:35 +00:00
Daniel Jasper
4431aa99ab
Fix formatting of complex #if expressions.
...
Before:
#if !defined(AAAAAAAAAAAAAAAA) && (defined CCCCCCCC || \
defined DDDDDDDD) && defined(BBBBBBBB)
After:
#if !defined(AAAAAAAAAAAAAAAA) && (defined CCCCCCCC || defined DDDDDDDD) && \
defined(BBBBBBBB)
This fixes llvm.org/PR15828.
llvm-svn: 180105
2013-04-23 13:54:04 +00:00
Carlo Kok
da0ac7253c
c vs c++ mistake in header file typedef for AtomicRMW fix in rev 180100.
...
llvm-svn: 180104
2013-04-23 13:45:37 +00:00
Alexey Samsonov
fdcff04ad5
Fixup for r180094: properly use MSan interface functions
...
llvm-svn: 180103
2013-04-23 13:35:32 +00:00
Alexey Samsonov
34093f0de8
[MSan] Make a few interface functions accept 'const void *' instead of 'void*'
...
llvm-svn: 180102
2013-04-23 13:34:19 +00:00
Evgeniy Stepanov
455abf4872
[msan] Unpoison the result of posix_memalign.
...
llvm-svn: 180101
2013-04-23 13:27:36 +00:00
Carlo Kok
8c6719bf07
Expose IRBuilder::CreateAtomicRMW as LLVMBuildAtomicRMW in llvm-c.
...
llvm-svn: 180100
2013-04-23 13:21:19 +00:00
Reid Kleckner
de0c26046d
Un-revert the environ copy in ProgramTest after fixing it on OS X
...
This was r180041 and r180046, which was reverted in r180066.
Re-committing this should fix the dragonegg bootstrap, which I presume
needs LD_LIBRARY_PATH to be propagated to the child.
Tested on Linux, Windows, and Mac OS 10.6.
llvm-svn: 180099
2013-04-23 13:15:51 +00:00
Alexey Samsonov
f36c5a8431
Revert r180082 and add a test for SetEnv function
...
llvm-svn: 180098
2013-04-23 12:49:12 +00:00
Alexander Potapenko
262eb01bbf
[ASan] Make wait.cc more Darwin-compatible: fix the header name and the CHECK patterns.
...
llvm-svn: 180097
2013-04-23 12:36:37 +00:00
Sylvestre Ledru
333b9974cd
Remove duplicate define
...
llvm-svn: 180095
2013-04-23 12:18:53 +00:00
Alexey Samsonov
0c9f1bfae5
Tell MSan that memory initialized by libz is valid
...
llvm-svn: 180094
2013-04-23 12:17:46 +00:00
Alexander Potapenko
15aa1cd1ac
[ASan] Disable AddressSanitizer.AllocDeallocMismatch on Darwin.
...
See https://code.google.com/p/address-sanitizer/issues/detail?id=131 .
llvm-svn: 180093
2013-04-23 12:14:55 +00:00
Rafael Espindola
70e94800e5
Move test from grep to FileCheck.
...
llvm-svn: 180092
2013-04-23 12:03:27 +00:00
Evgeniy Stepanov
3076ba0a08
[sanitizer] Intercept getgrnam{_r}, getgrgid{_r}.
...
llvm-svn: 180091
2013-04-23 12:01:20 +00:00
Evgeniy Stepanov
0cd7cf8217
[msan] Allow clock_getres(, 0).
...
llvm-svn: 180090
2013-04-23 11:48:31 +00:00
Alexey Samsonov
068fc8ae6e
Use zlib to uncompress debug sections in DWARF parser.
...
This makes llvm-dwarfdump and llvm-symbolizer understand
debug info sections compressed by ld.gold linker.
llvm-svn: 180088
2013-04-23 10:17:34 +00:00
Hans Wennborg
63761d4bc4
Add llvm_unreachable after fully covered switch to pacify GCC
...
llvm-svn: 180087
2013-04-23 10:12:16 +00:00
Jason Molenda
e005d78241
One line I forgot to remove.
...
llvm-svn: 180086
2013-04-23 09:49:03 +00:00
Jason Molenda
0f224d2cd4
Update the unwind_diagnose script to work correctly with both
...
lldb-179 version numberings and the new lldb-300 version numberings.
Remove the pretense that someone might run this from the command
line; this is only used from within a live lldb debug session. Fix
the loading so it can be loaded via "script import lldb.macosx" or
the script can be loaded individually like "command script import
unwind_diagnose.py"
llvm-svn: 180085
2013-04-23 09:38:10 +00:00
Alexey Samsonov
28acf056e1
Add more guards around zlib-dependent code
...
llvm-svn: 180084
2013-04-23 08:57:30 +00:00
Alexey Samsonov
2fb337e77a
Add basic zlib support to LLVM. This would allow to use compression/uncompression in selected LLVM tools.
...
llvm-svn: 180083
2013-04-23 08:28:39 +00:00
Alexey Samsonov
e7540e3561
[Sanitizer] Delete unused function
...
llvm-svn: 180082
2013-04-23 08:18:09 +00:00