- Dec 18, 2014
-
-
Ulrich Weigand authored
As agreed with Richard Sandiford, I'm taking over code ownership for the SystemZ back end from him. llvm-svn: 224535
-
Kevin Enderby authored
llvm-svn: 224534
-
Hans Wennborg authored
While we're here, also move the declaration of DeferredInlineMethodDefinitions closer to the other member vars and make it a SmallVector. NFC. llvm-svn: 224533
-
Dmitry Vyukov authored
the test passes now, but signal handling during thread creation and shutdown is tricky llvm-svn: 224532
-
Dmitry Vyukov authored
see the added comments for details, it's messy llvm-svn: 224531
-
Dmitry Vyukov authored
signal handler reads sa_sigaction when a concurrent sigaction call can modify it as the result in could try to call SIG_DFL or a partially overwritten function pointer llvm-svn: 224530
-
Filipe Cabecinhas authored
Summary: Always quote suppressions files given to *_OPTIONS. This will make it not break when given full Windows paths (otherwise, parsing would stop after the drive's letter + ':'). Also fix one or two cases where the suppression files' extensions were not *.supp. Reviewers: samsonov, kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6680 llvm-svn: 224529
-
Zachary Turner authored
This fixes compilation failures in the 64-bit build of LLDB on Windows. Patch by Aidan Dodds Differential Revision: http://reviews.llvm.org/D6704 llvm-svn: 224528
-
Juergen Ributzka authored
The header claims that this function exists, but the linker wasn't too happy about it not being in the library. llvm-svn: 224527
-
Reid Kleckner authored
This reverts commit r224451. It caused us to reject some valid existing code. This code appears to run in non-error cases as well as error cases. If the scope of a DependentScopeDeclRefExpr is still incomplete it probably means we still have more instantiation to do. llvm-svn: 224526
-
Fariborz Jahanian authored
Patch by Alex Denisov. NFC. llvm-svn: 224525
-
Jozef Kolek authored
Fix bugs related to atomic microMIPS SC/LL instructions: While expanding atomic operations the mips32r2 encoding was emitted instead of microMIPS. Differential Revision: http://reviews.llvm.org/D6659 llvm-svn: 224524
-
Richard Barton authored
Change-Id: I4dbfe1d97670fc4e626368ef1f91fc008778dfca llvm-svn: 224523
-
Jay Foad authored
Summary: The numbers in /proc/self/statm are in pages, not in fixed 4k units. This fixes Linux/hard_rss_limit_mb_test.cc on my PowerPC64 box which has 64k pages. Reviewers: kcc, willschm Reviewed By: willschm Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6717 llvm-svn: 224522
-
Saleem Abdulrasool authored
Fix an off-by-one access introduced in 224502 for push.w and pop.w with single register operands. Add test cases for both scenarios. Thanks to Asiri Rathnayake for pointing out the failure! llvm-svn: 224521
-
Dmitry Vyukov authored
currently deadlock detector reports effectively random stacks in report after flush because it looks at old edges with wrong stacks llvm-svn: 224519
-
Dmitry Vyukov authored
and re-enable the test llvm-svn: 224518
-
Toma Tabacu authored
Summary: Improve comments and remove a redundant attribute list. There are no functional changes (to the CHECK's or to the code). Part of these changes were suggested in http://reviews.llvm.org/D6637. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6705 llvm-svn: 224517
-
Robert Khasanov authored
Added RegOp2MemOpTable4 to transform 4th operand from register to memory in merge-masked versions of instructions. Added lowering tests. llvm-svn: 224516
-
Yaron Keren authored
two identical module.modulemap are available on the include path and so should be fixed in the mingw driver include dies, when we'll have it. llvm-svn: 224515
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D6666 llvm-svn: 224514
-
Daniel Jasper authored
Before: for (auto v : in [1]) { .. After: for (auto v : in[1]) { .. llvm-svn: 224513
-
Serge Pavlov authored
Repared support for warnings -Wkeyword-macro and -Wreserved-id-macro. The warning -Wkeyword-macro now is not issued in patterns that are used in configuration scripts: #define inline also for 'const', 'extern' and 'static'. If macro repalcement is identical to macro name, the warning also is not issued: #define volatile volatile And finally if macro replacement is also a keyword identical to the replaced one but decorated with leading/trailing underscores: #define inline __inline #define inline __inline__ #define inline _inline // in MSVC compatibility mode Warning -Wreserved-id-macro is off by default, it could help catching things like: #undef __cplusplus llvm-svn: 224512
-
Dmitry Vyukov authored
currently it fails in cmake build with weird errors: /tmp/real_deadlock_detector_stress_test-68a5ae.o: In function `__clang_call_terminate': /ssd/src/llvm/projects/compiler-rt/test/tsan/real_deadlock_detector_stress_test.cc:(.text.__clang_call_terminate[__clang_call_terminate]+0x12): undefined reference to `__cxa_begin_catch' /ssd/src/llvm/projects/compiler-rt/test/tsan/real_deadlock_detector_stress_test.cc:(.text.__clang_call_terminate[__clang_call_terminate]+0x17): undefined reference to `std::terminate()' /tmp/real_deadlock_detector_stress_test-68a5ae.o: In function `std::vector<int, std::allocator<int> >::_M_check_len(unsigned long, char const*) const': /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:1339: undefined reference to `std::__throw_length_error(char const*)' /tmp/real_deadlock_detector_stress_test-68a5ae.o: In function `__gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)': /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()' /tmp/real_deadlock_detector_stress_test-68a5ae.o:(.eh_frame+0x63): undefined reference to `__gxx_personality_v0' clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation) llvm-svn: 224511
-
Dmitry Vyukov authored
currently disabled because fails llvm-svn: 224509
-
Dmitry Vyukov authored
tctx==NULL crash observed during deadlock reporting. There seems to be some bugs in the deadlock detector, but it is still useful to be more robust during reporting. llvm-svn: 224508
-
Dmitry Vyukov authored
see the comment for details llvm-svn: 224507
-
Yaron Keren authored
llvm-svn: 224506
-
David Majnemer authored
ParseCXXNonStaticMemberInitializer stashes away all the tokens for the initializer and an additional EOF token to denote where the initializer ends. However, it is possible for ParseLexedMemberInitializer to get its hands on the "real" EOF token; since the two tokens are indistinguishable, we end up consuming the EOF and descend into madness. Instead, make it possible to tell which EOF token we are looking at. This fixes PR21872. llvm-svn: 224505
-
Alexey Bataev authored
Fixed assertion on type checking for arguments and parameters on function call if arguments are pointers to VLA Differential Revision: http://reviews.llvm.org/D6655 llvm-svn: 224504
-
Bob Wilson authored
It is often convenient to use -save-temps to collect the intermediate results of a compilation, e.g., when triaging a bug report. Besides the temporary files for preprocessed source and assembly code, this adds the unoptimized bitcode files as well. This adds a new BackendJobAction, which is mostly mechanical, to run after the CompileJobAction. When not using -save-temps, the BackendJobAction is combined into one job with the CompileJobAction, similar to the way the integrated assembler is handled. I've implemented this entirely as a driver change, so under the hood, it is just using -disable-llvm-optzns to get the unoptimized bitcode. Based in part on a patch by Steven Wu. rdar://problem/18909437 llvm-svn: 224503
-
Saleem Abdulrasool authored
The ARM Architecture Reference Manual states the following: LDM{,IA,DB}: The SP cannot be in the list. The PC can be in the list. If the PC is in the list: • the LR must not be in the list • the instruction must be either outside any IT block, or the last instruction in an IT block. POP: The PC can be in the list. If the PC is in the list: • the LR must not be in the list • the instruction must be either outside any IT block, or the last instruction in an IT block. PUSH: The SP and PC can be in the list in ARM instructions, but not in Thumb instructions. STM:{,IA,DB}: The SP and PC can be in the list in ARM instructions, but not in Thumb instructions. llvm-svn: 224502
-
Saleem Abdulrasool authored
Use pipes and redirect the error output to FileCheck directly. NFC. llvm-svn: 224501
-
Chandler Carruth authored
a lambda now that we have them. llvm-svn: 224500
-
Rafael Espindola authored
llvm-svn: 224499
-
Craig Topper authored
[PowerPC] Use MCPhysReg for tables of registers. Const-correct the tables. Only put the anonymous namespace around classes. NFC. llvm-svn: 224498
-
Craig Topper authored
llvm-svn: 224497
-
Craig Topper authored
Near as I can tell prefixes are ignored on these instructions except for a comment in the Intel docs about 0xf3. Binutils disassembler seems to ignore prefixes on these instructions. Our disassembler still doesn't distinguish PS and "no prefix" well enough for this to make a functional change, but it helps with experiments I'm doing on a potential new disassembler table builder. llvm-svn: 224496
-
Craig Topper authored
[X86] Remove unnecessary 'In64BitMode' predicate for instructions that already indicate use of REX.W. llvm-svn: 224495
-
Justin Hibbits authored
Pointed out by Jim Grosbach. llvm-svn: 224494
-