- Feb 16, 2014
-
-
Saleem Abdulrasool authored
The Linux kernel defines empty macros for compatibility with ARM UAL syntax. The comma after the name is optional, and if present can be safely lexed. This improves compatibility with the GNU assembler. llvm-svn: 201474
-
Ed Maste authored
ProcessElfCore::ParseThreadContextsFromNoteSegment was leaking ThreadData for each ELF note found in core file. We now allocate it only once and use std::unique_ptr to ensure it is always being freed. While at it make ParseFreeBSDThrMisc and ParseFreeBSDPrStatus take ThreadData by reference, rather than pointer, since those arguments are not optional. Patch by Piotr Rak. http://llvm-reviews.chandlerc.com/D2813 llvm-svn: 201473
-
Marshall Clow authored
llvm-svn: 201472
-
Saleem Abdulrasool authored
This adds a partial implementation of the .arch_extension directive to the integrated ARM assembler. There are a number of limitations to this implementation arising from the target backend support rather than the implementation itself. Namely, iWMMXT (v1 and v2), Maverick, and XScale support is not present in the ARM backend. Currently, there is no check for A-class only (needed for virt), and no ARMv6k detection (needed for os and sec). The remainder of the extensions are fully supported. llvm-svn: 201471
-
- Feb 15, 2014
-
-
David Blaikie authored
llvm-svn: 201470
-
David Blaikie authored
This broke in r185459 while TLS support was being generalized to handle non-symbol TLS representations. I thought about/tried having an enum rather than a bool to track the TLS-ness of the address table entry, but namespaces and naming seemed more hassle than it was worth for only one caller that needed to specify this. llvm-svn: 201469
-
Argyrios Kyrtzidis authored
inside a GNU statement expression. rdar://16064952 llvm-svn: 201468
-
David Blaikie authored
llvm-svn: 201467
-
Arnold Schwaighofer authored
This reverts commit r201465. It broke an arm bot. llvm-svn: 201466
-
Arnold Schwaighofer authored
During LSR of one loop we can run into a situation where we have to expand the start of a recurrence of a loop induction variable in this loop. This start value is a value derived of the induction variable of a preceeding loop. SCEV has cannonicalized this value to a different recurrence than the recurrence of the preceeding loop's induction variable (the type and/or step direction) has changed). When we come to instantiate this SCEV we created a second induction variable in this preceeding loop. This patch tries to base such derived induction variables of the preceeding loop's induction variable. This helps twolf on arm and seems to help scimark2 on x86. radar://15970709 llvm-svn: 201465
-
Nico Rieck authored
llvm-svn: 201464
-
Craig Topper authored
llvm-svn: 201463
-
David Majnemer authored
1. CHECK-NOT-LABEL is not valid FileCheck. 2. This test would not trigger the CHECK-NOT-LABEL even if 'interface' is replaced with 'struct'. llvm-svn: 201462
-
Nico Rieck authored
llvm-svn: 201461
-
Marshall Clow authored
llvm-svn: 201460
-
Marshall Clow authored
llvm-svn: 201459
-
David Blaikie authored
llvm-svn: 201458
-
Ed Maste authored
This seems like a more straightforward approach for instantiating the appropriate RegisterContext* class, made possible by Michael Sartain's cleanup of the POSIX RegisterContext class hierarchy in r190647. Better (user-facing) error handling is still needed. llvm-svn: 201457
-
Manman Ren authored
When a function has a single counter, we will offset the pointer by 1 when parsing the next function. If a function has multiple counters, we are okay after skipping rest of the counters. llvm-svn: 201456
-
rdar://problem/16006373Enrico Granata authored
Revert the spirit of r199857 - a convincing case can be made that overriding a summary's format markers behind its back is not the right thing to do This commit reverts the behavior of the code to the previous model, and changes the test case to validate the opposite of what it was validating before llvm-svn: 201455
-
David Majnemer authored
Some lines intended to be used for testing x86_64 ABI compatibility were not firing because lines were annotated with the wrong FileCheck prefix: X64 vs 64 llvm-svn: 201454
-
David Majnemer authored
Some lines intended to be used for testing x86_64 ABI compatibility were not firing because lines were annotated with the wrong FileCheck prefix: X64 vs C64 llvm-svn: 201453
-
Richard Smith authored
llvm-svn: 201452
-
Lang Hames authored
llvm-svn: 201451
-
David Blaikie authored
llvm-svn: 201450
-
Richard Smith authored
llvm-svn: 201449
-
Richard Smith authored
WG21 is about to vote on. llvm-svn: 201448
-
Jason Molenda authored
Add some additional logging to the Mac OS X SystemRuntime. Fix a bug where lldb could free an inferior's vm_page. llvm-svn: 201447
-
Fariborz Jahanian authored
mismatches the one declared in current class; in addition to those that are directly overridden. // rdar://15967517 llvm-svn: 201446
-
David Blaikie authored
Type units will share the statement list of their defining compile unit. This is a tradeoff that reduces .o debug info size at the cost of some linked debug info size (since the contents of those string tables won't be deduplicated along with the type unit) which seems right for now. llvm-svn: 201445
-
- Feb 14, 2014
-
-
David Blaikie authored
These types have an out of line virtual function each (emitHeader at least) so they won't have weak vtables - no need for more than that. llvm-svn: 201444
-
Rafael Espindola authored
llvm-svn: 201443
-
David Blaikie authored
DwarfUnit: Remove unnecessary (void)t; that was previously used to suppress -Wunused-member-variable llvm-svn: 201442
-
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
-