- Feb 14, 2014
-
-
David Blaikie authored
DwarfUnit: Refactor out DW_AT_stmt_list creation into common function for fission and non-fission cases This probably also addresses the FIXME in the fission case regarding multiple compile units, though I haven't tested that. This code still confuses me (the literal zero offset makes little sense, the limitations surrounding asm output I'm not sure about either - but perhaps we should just always emit one line table? Or should we not rely on .loc/.file even in assembly so we can produce the same output between asm and object output?) but this maintains the existing functionality. llvm-svn: 201441
-
Rafael Espindola authored
This should be a small build time improvement in general and fixes the build on OS X with -DBUILD_SHARED_LIBS=ON. The issue is that not all users are including GenericDomTreeConstruction.h, causing undefined references when ld64 managed to hide the linkonce_odr symbols. llvm-svn: 201440
-
Quentin Colombet authored
transformation does not bring any immediate benefits and introduce an illegal operation. llvm-svn: 201439
-
Richard Smith authored
C++11 mode. Continue to disallow return type deduction in C++11 for now. llvm-svn: 201438
-
David Blaikie authored
For some reason we have two bits of code handling this printing: lib/AST/Decl.cpp: OS << "<anonymous namespace>"; lib/AST/TypePrinter.cpp: OS << "<anonymous namespace>::"; it would be nice if we only had one... llvm-svn: 201437
-
David Blaikie authored
llvm-svn: 201436
-
Ed Maste authored
llvm-svn: 201435
-
Ed Maste authored
llvm-svn: 201434
-
Tom Stellard authored
llvm-svn: 201433
-
Howard Hinnant authored
llvm-svn: 201432
-
Tom Stellard authored
These do not import the code specific to nvidiacl Patch by: Jeroen Ketema llvm-svn: 201431
-
Eli Bendersky authored
llvm-svn: 201430
-
David Blaikie authored
Recommitting r201380 (reverted in r201389) Recommitting r201351 and r201355 (reverted in r201351 and r201355) We weren't emitting the an empty (header only) line table when the line table was empty - this made the DWARF invalid (the compile unit would point to the zero-size debug_lines section where there should've been an empty line table but there was nothing at all). Fix that, and as a consequence this works around/addresses PR18809. Also, we emit a non-empty line table to workaround a darwin linker bug, so XFAILing on darwin too. Also, mark the test as 'REQUIRES: object-emission' because it does. llvm-svn: 201429
-
Fariborz Jahanian authored
properties by fixing shouldBindAsLValue to accept arrays (like record types) because we always manipulate them in memory. Patch suggested by John MaCall. // rdar://15610943 llvm-svn: 201428
-
Diego Novillo authored
Summary: This adds support for emitting DWARF path discriminator values in the object streamer. It also changes the DWARF dumper to show discriminator values in the line table output. Reviewers: echristo CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2794 llvm-svn: 201427
-
Reed Kotler authored
1) Fix a specific bug when certain conversion functions are called in a program compiled as mips16 with hard float and the program is linked as c++. There are two libraries that are reversed in the link order with gcc/g++ and clang/clang++ for mips16 in this case and the proper stubs will then not be called. These stubs are normally handled in the Mips16HardFloat pass but in this case we don't know at that time that we need to generate the stubs. This must all be handled later in code generation and we have moved this functionality to MipsAsmPrinter. When linked as C (gcc or clang) the proper stubs are linked in from libc. 2) Set up the infrastructure to handle 90% of what is in the Mips16HardFloat pass in this new area of MipsAsmPrinter. This is a more logical place to handle this and we have known for some time that we needed to move the code later and not implement it using inline asm as we do now but it was not clear exactly where to do this and what mechanism should be used. Now it's clear to us how to do this and this patch contains the infrastructure to move most of this to MipsAsmPrinter but the actual moving will be done in a follow on patch. The same infrastructure is used to fix this current bug as described in #1. This change was requested by the list during the original putback of the Mips16HardFloat pass but was not practical for us do at that time. llvm-svn: 201426
-
Rafael Espindola authored
Extracted while trying to understand http://llvm-reviews.chandlerc.com/D1764. Patch by Matt Arsenault. llvm-svn: 201425
-
Daniel Jasper authored
Before: template <class R, class C> struct Aaaaaaaaaaaaaaaaa<R (C::*)(int) const> : Aaaaaaaaaaaaaaaaa<R (C::*)(int)> {}; After: template <class R, class C> struct Aaaaaaaaaaaaaaaaa<R (C::*)(int) const> : Aaaaaaaaaaaaaaaaa<R (C::*)(int)> {}; llvm-svn: 201424
-
Artyom Skrobov authored
Patch by Keith Walker! llvm-svn: 201423
-
Ed Maste authored
The final "HandleCommand, command succeeded" for "log disable lldb" doesn't make it to the log file before the command takes effect. llvm-svn: 201422
-
Alexey Samsonov authored
llvm-svn: 201421
-
Evgeniy Stepanov authored
Android does not provide posix_memalign. llvm-svn: 201420
-
Argyrios Kyrtzidis authored
continue header lookup using the framework include as filename. This allows us to conveniently treat #import "Foo.h" as an implicit module import if we can resolve "Foo/Foo.h" as such. rdar://16042979 llvm-svn: 201419
-
Ed Maste authored
llvm.org/pr18832 Reported by John Wolfe llvm-svn: 201418
-
Alexey Samsonov authored
llvm-svn: 201417
-
Evgeniy Stepanov authored
llvm-svn: 201416
-
Evgeniy Stepanov authored
Because of how Android test runner is implemented, ulimit in RUN: line gets executed on the host machine and does not affect the test. llvm-svn: 201415
-
Alexey Samsonov authored
llvm-svn: 201414
-
Alexey Samsonov authored
llvm-svn: 201413
-
Alexey Samsonov authored
llvm-svn: 201412
-
Evgeniy Stepanov authored
Test fails in bootstrap build. llvm-svn: 201411
-
Evgeniy Stepanov authored
llvm-svn: 201410
-
Alexey Samsonov authored
llvm-svn: 201409
-
Alexey Samsonov authored
llvm-svn: 201408
-
Kostya Serebryany authored
[tsan] rudimentary support for deadlock detector in tsan (nothing really works yet except for a single tiny test). Also rename tsan's DeadlockDetector to InternalDeadlockDetector llvm-svn: 201407
-
Alexey Samsonov authored
llvm-svn: 201406
-
Kostya Serebryany authored
[sanitizer] add iterators to bit vectors; make bit vector operations use little stack; add common flag 'detect_deadlocks' llvm-svn: 201405
-
Evgeniy Stepanov authored
llvm-svn: 201404
-
Alexey Samsonov authored
llvm-svn: 201403
-
Evgeniy Stepanov authored
These are runtime support functions for inline assembly instrumentation. Patch by Yuri Gorshenin. llvm-svn: 201402
-