- Apr 29, 2014
-
-
Chandler Carruth authored
around pointer types. llvm-svn: 207465
-
David Blaikie authored
Seems at some point the intent was to emit fission ranges_base as unique per CU but the code today emits ranges_base as the start of the ranges section for all CUs being compiled and all the ranges_base relative addresses are relative to that. So removing this dead code and leaving the status quo until there's a reason to change it (perhaps something's faster if it has distinct ranges for each CU). llvm-svn: 207464
-
Nick Kledzik authored
llvm-svn: 207463
-
Chandler Carruth authored
clang directly from the LLVM test suite! That doesn't work. I've followed up on the review thread to try and get a viable solution sorted out, but trying to get the tree clean here. llvm-svn: 207462
-
Alexey Samsonov authored
FrameEntry doesn't need to hold a reference to the section it is located in. Instead, pass DataExtractor as an argument of parsing function. No functionality change. llvm-svn: 207461
-
David Blaikie authored
Based on code review by Eric Christopher on r207323 llvm-svn: 207460
-
Alexey Samsonov authored
llvm-svn: 207459
-
David Blaikie authored
llvm-svn: 207458
-
Alexey Samsonov authored
There is no need to keep the whole contents of .debug_aranges section in memory when we build address ranges table. Memory optimization that used to be in this code (precalculate the size of vector of ranges before filling it) is not really needed - later we will compact and resize this vector anyway. llvm-svn: 207457
-
David Blaikie authored
(Clang doesn't warn here because it knows the string is benign - the assert still checks what it's intended to - though putting the correct parens does make clang-format format the code a little better) llvm-svn: 207456
-
Eric Christopher authored
Patch by Jan Vesely <jan.vesely@rutgers.edu>. llvm-svn: 207455
-
Paul Robinson authored
inputs to the preprocessor, check for invalid types first because not all linker inputs have an option value to retrieve. llvm-svn: 207454
-
Eli Bendersky authored
llvm-svn: 207453
-
Eli Bendersky authored
llvm-svn: 207452
-
David Majnemer authored
Summary: A reference temporary should inherit the linkage of the variable it initializes. Otherwise, we may hit cases where a reference temporary wouldn't have the same value in all translation units. Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3515 llvm-svn: 207451
-
Dan Liew authored
option. llvm-svn: 207450
-
Ed Maste authored
- Remove default for switch which covers all enumeration values - Remove unused functions LSL_C is left in the source under #if 0, as it may be needed in the future for emulating other instructions. Differential Revision: http://reviews.llvm.org/D3528 llvm-svn: 207449
-
David Blaikie authored
Since all 4 ctor calls in DwarfDebug just pass in a trivially constructed DIE with the right tag type, sink the tag selection down into the Dwarf*Unit ctors (removing the argument entirely from callers in DwarfDebug) and initialize the DIE member in DwarfUnit. llvm-svn: 207448
-
David Blaikie authored
llvm-svn: 207447
-
Justin Bogner authored
llvm-svn: 207446
-
Rafael Espindola authored
When evaluating an assembly expression for a relocation, we want to stop at MCSymbols that are in the symbol table, even if they are variables. This is needed since the semantics may require that the relocation use them. That is not the case when computing the value of a symbol in the symbol table. There are no relocations in this case and we have to keep going until we hit a section or find out that the expression doesn't have an assembly time value. llvm-svn: 207445
-
Eric Christopher authored
llvm-svn: 207444
-
Alexey Samsonov authored
llvm-svn: 207443
-
David Blaikie authored
Now that the subtle constructScopeDIE has been refactored into two functions - one returning memory to take ownership of, one returning a pointer to already owning memory - push unique_ptr through more APIs. I think this completes most of the unique_ptr ownership of DIEs. llvm-svn: 207442
-
David Blaikie authored
While refactoring out constructScopeDIE into two functions I realized we were emitting DW_AT_object_pointer in the inlined subroutine when we didn't need to (GCC doesn't, and the abstract subprogram definition has the information already). So here's the refactoring and the bug fix. This is one step of refactoring to remove some subtle memory ownership semantics. It turns out the original constructScopeDIE returned ownership in its return value in some cases and not in others. The split into two functions now separates those two semantics - further cleanup (unique_ptr, etc) will follow. llvm-svn: 207441
-
Duncan P. N. Exon Smith authored
llvm-svn: 207440
-
Duncan P. N. Exon Smith authored
llvm-svn: 207439
-
Duncan P. N. Exon Smith authored
This reverts commit r207287, reapplying r207286. I'm hoping that declaring an explicit struct and instantiating `addBlockEdges()` directly works around the GCC crash from r207286. This is a lot more boilerplate, though. llvm-svn: 207438
-
Simon Atanasyan authored
llvm-svn: 207437
-
Simon Atanasyan authored
llvm-svn: 207436
-
Simon Atanasyan authored
llvm-svn: 207435
-
Simon Atanasyan authored
member functions. llvm-svn: 207434
-
Chad Rosier authored
behavior of the loop vectorizer, which is enabled at -O2, -O3, -O4, -Ofast and -Os. PR19568 llvm-svn: 207433
-
Quentin Colombet authored
llvm-svn: 207432
-
Reid Kleckner authored
lld-test.deps doesn't exist in a non-standalone build. llvm-svn: 207431
-
Juergen Ributzka authored
This commit provides the necessary C/C++ APIs and infastructure to enable fine- grain progress report and safe suspension points after each pass in the pass manager. Clients can provide a callback function to the pass manager to call after each pass. This can be used in a variety of ways (progress report, dumping of IR between passes, safe suspension of threads, etc). The run listener list is maintained in the LLVMContext, which allows a multi- threaded client to be only informed for it's own thread. This of course assumes that the client created a LLVMContext for each thread. This fixes <rdar://problem/16728690> llvm-svn: 207430
-
Joerg Sonnenberger authored
llvm-svn: 207429
-
Peter Collingbourne authored
Differential Revision: http://reviews.llvm.org/D3523 llvm-svn: 207428
-
Nico Weber authored
llvm-svn: 207427
-
Hans Wennborg authored
llvm-svn: 207426
-