| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
that work on the LLVMBuild based dependency specification didn't
actually work, we just now maintain dependencies in *3* places instead
of 2. Yay.
There may still be some missing dependencies, I'm still sifting through
the bots and my builds, but this is a step in the right direction.
llvm-svn: 177988
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
its own library. These functions are bridging between the bitcode reader
and the ll parser which are in different libraries. Previously we didn't
have any good library to do this, and instead played fast and loose with
a "header only" set of interfaces in the Support library. This really
doesn't work well as evidenced by the recent attempt to add timing logic
to the these routines.
As part of this, make them normal functions rather than weird inline
functions, and sink the implementation into the library. Also clean up
the header to be nice and minimal.
This requires updating lots of build system dependencies to specify that
the IRReader library is needed, and several source files to not
implicitly rely upon the header file to transitively include all manner
of other headers.
If you are using IRReader.h, this commit will break you (the header
moved) and you'll need to also update your library usage to include
'irreader'. I will commit the corresponding change to Clang momentarily.
llvm-svn: 177971
|
| |
|
|
|
|
| |
symbol table / dynamic symbol table
llvm-svn: 177873
|
| |
|
|
| |
llvm-svn: 177410
|
| |
|
|
|
|
| |
instead of .clear()
llvm-svn: 177409
|
| |
|
|
| |
llvm-svn: 177390
|
| |
|
|
|
|
| |
Patch by Stephen Checkoway.
llvm-svn: 177233
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
codegen passes. This brings it in to line with clang and llc's codegen setup,
and tidies up the code.
If I understand correctly, adding ModulePasses to a FunctionPassManager is
bogus. It only seems to explode if an added ModulePass depends on a
FunctionPass though, which might be why this code has survived so long.
Fixes <rdar://problem/13386816>.
llvm-svn: 176977
|
| |
|
|
|
|
|
|
| |
- if you have LLDB checked out in $llvm/tools, CMake will build it now!
- LLDB is known to build on Linux with libstdc++ and GCC 4.6/4.7 or Clang 3.3
- to run lldb tests, do "make check-lldb" after a build
llvm-svn: 176307
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Consistency with opt (which supports the same option with the same meaning and
description).
- Debugging gold plugin-based linking without optimizations getting in the way.
- Debugging programs linked with the gold plugin while preserving the original
debug info.
- Fine-grained control over LTO passes using the gold plugin in combination with
opt (or clang/dragonegg).
Patch by Cristiano Giuffrida!
llvm-svn: 176257
|
| |
|
|
| |
llvm-svn: 176192
|
| |
|
|
|
|
| |
to NULL and use asserts to check in relevant places.
llvm-svn: 176134
|
| |
|
|
| |
llvm-svn: 176123
|
| |
|
|
|
|
| |
This changes the RecordingMemoryManager in lli to use mapped memory rather than malloc to allocate memory for sections and uses a 'near' MemoryBlock to keep the allocations together. This works around a problem in MCJIT where relocations are applied to a generated image immediately oupon generation, which isn't appropriate for the remote case.
llvm-svn: 176057
|
| |
|
|
| |
llvm-svn: 175709
|
| |
|
|
| |
llvm-svn: 175659
|
| |
|
|
| |
llvm-svn: 175592
|
| |
|
|
| |
llvm-svn: 175255
|
| |
|
|
| |
llvm-svn: 175158
|
| |
|
|
|
|
| |
the Apple way.
llvm-svn: 175069
|
| |
|
|
|
|
| |
function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.
llvm-svn: 175006
|
| |
|
|
| |
llvm-svn: 174976
|
| |
|
|
| |
llvm-svn: 174847
|
| |
|
|
| |
llvm-svn: 174687
|
| |
|
|
| |
llvm-svn: 174463
|
| |
|
|
| |
llvm-svn: 174439
|
| |
|
|
| |
llvm-svn: 174346
|
| |
|
|
| |
llvm-svn: 174332
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Improve performance of iterating over children and accessing the member file
buffer by caching the file size and moving code out to the header.
This also makes getBuffer return a StringRef instead of a MemoryBuffer. Both
fixing a memory leak and removing a malloc.
This takes getBuffer from ~10% of the time in lld to unmeasurable.
llvm-svn: 174272
|
| |
|
|
| |
llvm-svn: 174115
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
isa<> and dyn_cast<>. In several places, code is already hacking around
the absence of this, and there seem to be several interfaces that might
be lifted and/or devirtualized using this.
This change was based on a discussion with Jim Grosbach about how best
to handle testing for specific MCStreamer subclasses. He said that this
was the correct end state, and everything else was too hacky so
I decided to just make it so.
No functionality should be changed here, this is just threading the kind
through all the constructors and setting up the classof overloads.
llvm-svn: 174113
|
| |
|
|
|
|
| |
object emitted by MCJIT.
llvm-svn: 173712
|
| |
|
|
|
|
| |
for refactoring the ARC Optimizer.
llvm-svn: 173647
|
| |
|
|
|
|
| |
function allows a caller to obtain a table of line information for a function using the function's address and size.
llvm-svn: 173537
|
| |
|
|
|
|
| |
and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes.
llvm-svn: 173517
|
| |
|
|
|
|
|
|
|
| |
politely report it instead of running into llvm_unreachable.
Also patch llvm-dwarfdump to actually check whether the file it's attempting to
dump is a valid object file.
llvm-svn: 173489
|
| |
|
|
|
|
|
| |
Flags for dumping specific DWARF sections added in lib/DebugInfo and
llvm-dwarfdump.
llvm-svn: 173480
|
| |
|
|
| |
llvm-svn: 173460
|
| |
|
|
|
|
|
|
|
| |
Change messages to help identify which interpreter was actually selected (safe
vs testing).
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Reviewed-by: Chandler Carruth <chandlerc@gmail.com>
llvm-svn: 173360
|
| |
|
|
|
|
|
|
|
|
| |
Set the message returned after the GCC runner has been constructed as otherwise
the message will be overwritten by the construction of the runner, resulting in
misleading messages.
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Reviewed-by: Chandler Carruth <chandlerc@gmail.com>
llvm-svn: 173359
|
| |
|
|
|
|
|
| |
satisfy --vg-leak!
FIXME: It could be generalized in MemoryManager.
llvm-svn: 173349
|
| |
|
|
|
|
| |
LLVMSymbolize.{h,cpp} files. No functionality change.
llvm-svn: 173159
|
| |
|
|
| |
llvm-svn: 173141
|
| |
|
|
|
|
| |
is OFF.
llvm-svn: 173112
|
| |
|
|
| |
llvm-svn: 173088
|
| |
|
|
|
|
| |
the old ReadRecord methods.
llvm-svn: 172952
|
| |
|
|
| |
llvm-svn: 172921
|
| |
|
|
|
|
| |
includes.
llvm-svn: 172891
|
| |
|
|
| |
llvm-svn: 172779
|
| |
|
|
| |
llvm-svn: 172642
|