summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [Linker] Drop support for IR-level extended linking support (archives, etc.).Daniel Dunbar2013-01-176-577/+3
| | | | | | | | - This code is dead, and the "right" way to get this support is to use the platform-specific linker-integrated LTO mechanisms, or the forthcoming LLVM linker. llvm-svn: 172749
* Have ReExec read environment from /proc/self/environPeter Collingbourne2013-01-171-13/+20
| | | | | | | | | | It is possible for ReExec to be called before the C standard library has initialised itself sufficiently for execv to work properly. Fix this by parsing the environment ourselves and using execve. Differential Revision: http://llvm-reviews.chandlerc.com/D304 llvm-svn: 172748
* Restore reverted test case, this time with REQUIRES: assertsBill Schmidt2013-01-171-0/+19
| | | | llvm-svn: 172747
* Remove bad test caseBill Schmidt2013-01-171-18/+0
| | | | llvm-svn: 172746
* This patch fixes PR13626 by providing i128 support in the returnBill Schmidt2013-01-172-0/+19
| | | | | | | calling convention. 128-bit integers are now properly returned in GPR3 and GPR4 on PowerPC. llvm-svn: 172745
* [ms-inline asm] Updates and test case for r172743.Chad Rosier2013-01-172-17/+29
| | | | | | Part of rdar://12576868 llvm-svn: 172744
* [ms-inline asm] Add support for the 'SIZE' and 'LENGTH' operators.Chad Rosier2013-01-173-39/+51
| | | | | | Part of rdar://12576868 llvm-svn: 172743
* [ms-inline asm] Extend the Sema interface to get the size and length of aChad Rosier2013-01-172-6/+21
| | | | | | | VarDecl. Part of rdar://12576868 llvm-svn: 172742
* [docs] Get rid of some UTF8 characters (non-breaking space maybe).Daniel Dunbar2013-01-171-16/+16
| | | | llvm-svn: 172741
* [utils] Update find-rev utility to take a branch argument (name of the git-svnDaniel Dunbar2013-01-171-4/+4
| | | | | | branch). llvm-svn: 172740
* Format strings: correct signedness if already correcting width (%d,%u).Jordan Rose2013-01-173-1/+48
| | | | | | | | | | | | It is valid to do this: printf("%u", (int)x); But if we see this: printf("%lu", (int)x); ...our fixit should suggest %d, not %u. llvm-svn: 172739
* Convert test/FixIt/format-darwin.m to use relative line numbers.Jordan Rose2013-01-171-46/+42
| | | | llvm-svn: 172738
* Add indexed load/store instructions for offset validation check.Jyotsna Verma2013-01-172-0/+40
| | | | | | This patch fixes bug 14902 - http://llvm.org/bugs/show_bug.cgi?id=14902 llvm-svn: 172737
* Added missing const from my last commit.Michael Gottesman2013-01-171-1/+1
| | | | llvm-svn: 172736
* [ObjCARC] Implemented operator<< for InstructionClass and changed a ↵Michael Gottesman2013-01-171-3/+56
| | | | | | ``Visited'' Debug message to use it. llvm-svn: 172735
* Reverting back to the fallback instead of using popcnt; this instruction ↵Aaron Ballman2013-01-171-2/+0
| | | | | | doesn't exist on all CPU architectures. Fixes PR14982 llvm-svn: 172734
* This patch fixes the PPC calling convention to handle returns ofBill Schmidt2013-01-172-2/+57
| | | | | | | | | _Complex float and _Complex long double, by simply increasing the number of floating point registers available for return values. The test case verifies that the correct registers are loaded. llvm-svn: 172733
* Add some semantic checks for OpenCL. Variadic macros, VLAs and bitfields are ↵Joey Gouly2013-01-177-0/+37
| | | | | | not supported. llvm-svn: 172732
* Formatter: Get bit tests in ifs right.Nico Weber2013-01-172-1/+32
| | | | | | | | | | | | | | | | | | | | | | | It's generally not possible to know if 'a' '*' 'b' is a multiplication expression or a variable declaration with a purely lexer-based approach. The formatter currently uses a heuristic that classifies this token sequence as a multiplication in rhs contexts (after '=' or 'return') and as a declaration else. Because of this, it gets bit tests in ifs, such as "if (a & b)" wrong. However, declarations in ifs always have to be followed by '=', so this patch changes the formatter to classify '&' as an operator if it's at the start of an if statement. Before: if (a& b) if (int* b = f()) Now: if (a & b) if (int* b = f()) llvm-svn: 172731
* [ubsan] Add SANITIZER_INTERFACE_ATTRIBUTE to __ubsan_vptr_type_cacheWill Dietz2013-01-171-1/+2
| | | | | | Missed this one previously. llvm-svn: 172730
* Documentation: formattingDmitri Gribenko2013-01-171-2/+2
| | | | llvm-svn: 172729
* Under GNU/Linux & HURD, add a soname to the liblldb shared library. Sylvestre Ledru2013-01-171-1/+2
| | | | llvm-svn: 172728
* [ASan] minor changes to swapcontext handling: don't clear shadow memory if ↵Alexey Samsonov2013-01-175-17/+25
| | | | | | context stack is too large llvm-svn: 172727
* ASan: Allow __asan_get_allocated_size(malloc(0)) to be 0 or 1Alexey Samsonov2013-01-171-1/+2
| | | | llvm-svn: 172726
* [asan] attempting to fix the Mac buildKostya Serebryany2013-01-172-3/+10
| | | | llvm-svn: 172725
* fix 'const const' typo introduced in r172647Daniel Malea2013-01-171-3/+3
| | | | llvm-svn: 172724
* [asan] restructure read/pread/pread64 testsKostya Serebryany2013-01-171-30/+16
| | | | llvm-svn: 172723
* [sanitizer] move write/pwrite/pwrite64 interceptors to commonKostya Serebryany2013-01-174-35/+98
| | | | llvm-svn: 172722
* [msan] start using common interceptors in msanKostya Serebryany2013-01-171-27/+11
| | | | llvm-svn: 172721
* [msan] More interceptors.Evgeniy Stepanov2013-01-175-0/+120
| | | | | | strtod and friends, dladdr, getrusage llvm-svn: 172720
* [tsan] move prctl interceptor from asan to common_interceptors thus enabling ↵Kostya Serebryany2013-01-178-44/+44
| | | | | | it for tsan too llvm-svn: 172719
* Allow breaking after the trailing const after a function declaration.Daniel Jasper2013-01-172-0/+11
| | | | | | | | | | | | Before: void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) const GUARDED_BY( aaaaaaaaaaaaa); After: void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) const GUARDED_BY(aaaaaaaaaaaaa); llvm-svn: 172718
* [ASan] fix __asan_get_ownership(p) and __asan_get_allocated_size(p) for the ↵Alexey Samsonov2013-01-172-5/+15
| | | | | | p = malloc(0) llvm-svn: 172717
* Add initial rough support for synthesizing linker options when passedChandler Carruth2013-01-172-1/+26
| | | | | | | | | | | -fopenmp in the link step on Linux. There is probably more tweaking that will need to take place to get good support for linking the relevant libraries on all Linux distributions and/or on other platforms, but this get's the ball moving and allows Clang to build programs which contain OpenMP pragmas that can be safely ignored by a compiler that doesn't implement them, and yet makes direct calls into the OpenMP runtime. llvm-svn: 172715
* [tsan] add write_range/read_range hooks to common interceptors called from ↵Kostya Serebryany2013-01-172-2/+36
| | | | | | tsan (to find races on read/pread/etc) llvm-svn: 172714
* [sanitizer] a bit more unification for interceptors (merge ↵Kostya Serebryany2013-01-174-31/+21
| | | | | | read/pread/pread64 in asan and tsan) llvm-svn: 172713
* tsan: fix a bugDmitry Vyukov2013-01-171-1/+1
| | | | llvm-svn: 172712
* Improve handling of comments in static initializers.Daniel Jasper2013-01-172-4/+51
| | | | | | | | | | | | | | | | | Also adding more tests. We can now keep the formatting of something like: static SomeType type = { aaaaaaaaaaaaaaaaaaaa, /* comment */ aaaaaaaaaaaaaaaaaaaa /* comment */, /* comment */ aaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaa, // comment aaaaaaaaaaaaaaaaaaaa }; Note that the comment in the first line is handled like a trailing line comment as that is likely what the user intended. llvm-svn: 172711
* tsan: fix a bugDmitry Vyukov2013-01-171-1/+1
| | | | llvm-svn: 172710
* ASan: add optional 'zero-based shadow' option to ASan passes. Always tell ↵Alexey Samsonov2013-01-172-37/+43
| | | | | | the values of shadow scale and offset to the runtime llvm-svn: 172709
* Optimization for the following SIGN_EXTEND pairs:Elena Demikhovsky2013-01-175-10/+119
| | | | | | | | | | | | v8i8 -> v8i64, v8i8 -> v8i32, v4i8 -> v4i64, v4i16 -> v4i64 for AVX and AVX2. Bug 14865. llvm-svn: 172708
* Improve -Wreorder to handle cases of anonymous class member orderingDavid Blaikie2013-01-172-26/+22
| | | | llvm-svn: 172707
* clang/test/Index/code-completion-skip-bodies.cpp: Check stdout and stderr ↵NAKAMURA Takumi2013-01-171-6/+6
| | | | | | | | individually, rather than mixed output of stdout and stderr with 2>&1. XFAIL(s) are removed. llvm-svn: 172705
* Combine AVX and SSE forms of MOVSS and MOVSD into the same multiclasses so ↵Craig Topper2013-01-171-74/+50
| | | | | | they get instantiated together. llvm-svn: 172704
* Revert most of r172140.Nico Weber2013-01-173-23/+8
| | | | | | | | | | r172140 changed the formatter to produce "-(id) foo" instead of "- (id)foo" in google style, with a link to http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml#Method_Declarations_and_Definitions as reference. But now that I look at that link again, it seems I didn't read it very carefully the first time round. llvm-svn: 172703
* Add one more bit of logging for armv7 watchpoint debugging.Jason Molenda2013-01-171-0/+2
| | | | llvm-svn: 172702
* ArrayRef-ize some ctor initializer related APIsDavid Blaikie2013-01-174-39/+29
| | | | llvm-svn: 172701
* Remove some unnecessary castsDavid Blaikie2013-01-171-4/+4
| | | | llvm-svn: 172700
* Fix the assembly and dissassembly of DW_FORM_sec_offset. Found this byEric Christopher2013-01-175-26/+24
| | | | | | | | | changing both the string of the dwo_name to be correct and the type of the statement list. Testcases all around. llvm-svn: 172699
* Add the DW_AT_GNU_addr_base for the skeleton cu. Add support forEric Christopher2013-01-174-5/+10
| | | | | | | emitting the dwarf32 version of DW_FORM_sec_offset and correct disassembler support. llvm-svn: 172698
OpenPOWER on IntegriCloud