Revision tags: llvmorg-3.5.1-rc1 |
|
#
e837ec29 |
| 14-Nov-2014 |
Frederic Riss <friss@apple.com> |
Reapply "[dwarfdump] Add support for dumping accelerator tables."
This reverts commit r221842 which was a revert of r221836 and of the test parts of r221837.
This new version fixes an UB bug pointe
Reapply "[dwarfdump] Add support for dumping accelerator tables."
This reverts commit r221842 which was a revert of r221836 and of the test parts of r221837.
This new version fixes an UB bug pointed out by David (along with addressing some other review comments), makes some dumping more resilient to broken input data and forces the accelerator tables to be dumped in the tests where we use them (this decision is platform specific otherwise).
llvm-svn: 222003
show more ...
|
#
e1f49581 |
| 13-Nov-2014 |
Frederic Riss <friss@apple.com> |
Revert "[dwarfdump] Add support for dumping accelerator tables."
This reverts commit r221836.
The tests are asserting on some buildbots. This also reverts the test part of r221837 as it relies on d
Revert "[dwarfdump] Add support for dumping accelerator tables."
This reverts commit r221836.
The tests are asserting on some buildbots. This also reverts the test part of r221837 as it relies on dwarfdump dumping the accelerator tables.
llvm-svn: 221842
show more ...
|
#
39467276 |
| 12-Nov-2014 |
Frederic Riss <friss@apple.com> |
[dwarfdump] Add support for dumping accelerator tables.
The class used for the dump only allows to dump for the moment, but it can (and will) be easily extended to support search also.
llvm-svn: 22
[dwarfdump] Add support for dumping accelerator tables.
The class used for the dump only allows to dump for the moment, but it can (and will) be easily extended to support search also.
llvm-svn: 221836
show more ...
|
Revision tags: llvmorg-3.5.0 |
|
#
6dc4a8bc |
| 30-Aug-2014 |
Craig Topper <craig.topper@gmail.com> |
Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already.
llvm-svn: 216820
|
Revision tags: llvmorg-3.5.0-rc4, llvmorg-3.5.0-rc3 |
|
#
48af1c2a |
| 19-Aug-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't own the buffer in object::Binary.
Owning the buffer is somewhat inflexible. Some Binaries have sub Binaries (like Archive) and we had to create dummy buffers just to handle that. It is also a
Don't own the buffer in object::Binary.
Owning the buffer is somewhat inflexible. Some Binaries have sub Binaries (like Archive) and we had to create dummy buffers just to handle that. It is also a bad fit for IRObjectFile where the Module wants to own the buffer too.
Keeping this ownership would make supporting IR inside native objects particularly painful.
This patch focuses in lib/Object. If something elsewhere used to own an Binary, now it also owns a MemoryBuffer.
This patch introduces a few new types.
* MemoryBufferRef. This is just a pair of StringRefs for the data and name. This is to MemoryBuffer as StringRef is to std::string. * OwningBinary. A combination of Binary and a MemoryBuffer. This is needed for convenience functions that take a filename and return both the buffer and the Binary using that buffer.
The C api now uses OwningBinary to avoid any change in semantics. I will start a new thread to see if we want to change it and how.
llvm-svn: 216002
show more ...
|
Revision tags: llvmorg-3.5.0-rc2 |
|
#
3f6481d0 |
| 01-Aug-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove some calls to std::move.
Instead of moving out the data in a ErrorOr<std::unique_ptr<Foo>>, get a reference to it.
Thanks to David Blaikie for the suggestion.
llvm-svn: 214516
|
#
a04bb5b1 |
| 31-Jul-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use a reference instead of a pointer.
This makes using a std::unique_ptr in the caller more convenient.
llvm-svn: 214433
|
#
437b0d58 |
| 31-Jul-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use std::unique_ptr to make the ownership explicit.
llvm-svn: 214377
|
Revision tags: llvmorg-3.5.0-rc1 |
|
#
adf21f2a |
| 06-Jul-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Update the MemoryBuffer API to use ErrorOr.
llvm-svn: 212405
|
#
6304e941 |
| 23-Jun-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Pass a std::unique_ptr& to the create??? methods is lib/Object.
This makes the buffer ownership on error conditions very natural. The buffer is only moved out of the argument if an object is constru
Pass a std::unique_ptr& to the create??? methods is lib/Object.
This makes the buffer ownership on error conditions very natural. The buffer is only moved out of the argument if an object is constructed that now owns the buffer.
llvm-svn: 211546
show more ...
|
#
4453e429 |
| 13-Jun-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove 'using std::error_code' from tools.
llvm-svn: 210876
|
#
3acea398 |
| 12-Jun-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix.
llvm-svn: 210835
|
#
a6e9c3e4 |
| 12-Jun-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove system_error.h.
This is a minimal change to remove the header. I will remove the occurrences of "using std::error_code" in a followup patch.
llvm-svn: 210803
|
#
e3218797 |
| 19-May-2014 |
Alexey Samsonov <samsonov@google.com> |
Kill symbolization functionality in llvm-dwarfdump. We have llvm-symbolizer for that.
llvm-svn: 209152
|
Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1 |
|
#
dce67348 |
| 15-May-2014 |
Alexey Samsonov <samsonov@google.com> |
[DWARF parser] Use enums instead of bitfields in DILineInfoSpecifier.
It is more appropriate than the current situation, when one flag (AbsoluteFilePath) is relevant only if another flag is set.
Th
[DWARF parser] Use enums instead of bitfields in DILineInfoSpecifier.
It is more appropriate than the current situation, when one flag (AbsoluteFilePath) is relevant only if another flag is set.
This refactoring would also simplify fetching the short function name (stored in DW_AT_name) instead of a linkage name returned currently.
No functionality change.
llvm-svn: 208921
show more ...
|
Revision tags: llvmorg-3.4.1, llvmorg-3.4.1-rc2 |
|
#
d010999a |
| 18-Apr-2014 |
Alexey Samsonov <samsonov@google.com> |
[DWARF parser] Turn DILineInfo into a struct.
Immutable DILineInfo doesn't bring any benefits and complicates code. Also, use std::string instead of SmallString<16> for file and function names - the
[DWARF parser] Turn DILineInfo into a struct.
Immutable DILineInfo doesn't bring any benefits and complicates code. Also, use std::string instead of SmallString<16> for file and function names - their length can vary significantly.
No functionality change.
llvm-svn: 206654
show more ...
|
Revision tags: llvmorg-3.4.1-rc1 |
|
#
9c550ac4 |
| 25-Mar-2014 |
David Blaikie <dblaikie@gmail.com> |
DebugInfo: Support debug_loc under fission
Implement debug_loc.dwo, as well as llvm-dwarfdump support for dumping this section.
Outlined in the DWARF5 spec and http://gcc.gnu.org/wiki/DebugFission
DebugInfo: Support debug_loc under fission
Implement debug_loc.dwo, as well as llvm-dwarfdump support for dumping this section.
Outlined in the DWARF5 spec and http://gcc.gnu.org/wiki/DebugFission the debug_loc.dwo section has more variation than the standard debug_loc, allowing 3 different forms of entry (plus the end of list entry). GCC seems to, and Clang certainly, only use one form, so I've just implemented dumping support for that for now.
It wasn't immediately obvious that there was a good refactoring to share the implementation of dumping support between debug_loc and debug_loc.dwo, so they're separate for now - ideas welcome or I may come back to it at some point.
As per a comment in the code, we could choose different forms that may reduce the number of debug_addr entries we emit, but that will require further study.
llvm-svn: 204697
show more ...
|
#
56440fd8 |
| 06-Mar-2014 |
Ahmed Charles <ahmedcharles@gmail.com> |
Replace OwningPtr<T> with std::unique_ptr<T>.
This compiles with no changes to clang/lld/lldb with MSVC and includes overloads to various functions which are used by those projects and llvm which ha
Replace OwningPtr<T> with std::unique_ptr<T>.
This compiles with no changes to clang/lld/lldb with MSVC and includes overloads to various functions which are used by those projects and llvm which have OwningPtr's as parameters. This should allow out of tree projects some time to move. There are also no changes to libs/Target, which should help out of tree targets have time to move, if necessary.
llvm-svn: 203083
show more ...
|
#
96c9d95f |
| 05-Mar-2014 |
Ahmed Charles <ahmedcharles@gmail.com> |
[C++11] Replace OwningPtr::take() with OwningPtr::release().
llvm-svn: 202957
|
#
1d4736e0 |
| 24-Feb-2014 |
David Blaikie <dblaikie@gmail.com> |
llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission.
llvm-svn: 202091
|
#
51cc3602 |
| 22-Jan-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Change createObjectFile to return an ErrorOr.
llvm-svn: 199776
|
#
92d9d627 |
| 09-Jan-2014 |
David Blaikie <dblaikie@gmail.com> |
llvm-dwarfdump: type unit dwo support
llvm-svn: 198850
|
Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1 |
|
#
3af14421 |
| 19-Nov-2013 |
David Blaikie <dblaikie@gmail.com> |
llvm-dwarfdump: support for emitting only the debug_types section using -debug-dump
llvm-svn: 195063
|
#
a9e303e7 |
| 25-Sep-2013 |
Eric Christopher <echristo@gmail.com> |
Add gnu pubsections as options to llvm-dwarfdump.
Argument spelling feedback welcome.
llvm-svn: 191409
|
#
4c7e6ba7 |
| 25-Sep-2013 |
Eric Christopher <echristo@gmail.com> |
Dump the normal dwarf pubtypes section as well.
llvm-svn: 191408
|