Revision tags: llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2 |
|
#
2c6f75dd |
| 30-Nov-2016 |
Derek Schuff <dschuff@google.com> |
[WebAssembly] Add llvm-objdump support for wasm file format
This is the first part of an effort to add wasm binary support across all llvm tools.
Patch by Sam Clegg
Differential Revision: https://
[WebAssembly] Add llvm-objdump support for wasm file format
This is the first part of an effort to add wasm binary support across all llvm tools.
Patch by Sam Clegg
Differential Revision: https://reviews.llvm.org/D26172
llvm-svn: 288251
show more ...
|
Revision tags: llvmorg-3.9.1-rc1 |
|
#
6b77ad35 |
| 15-Nov-2016 |
Rui Ueyama <ruiu@google.com> |
Simplify identify_magic.
This patch defines a memcmp-ish helper function to simplify identify_magic.
llvm-svn: 286928
|
#
2d02166b |
| 15-Nov-2016 |
Rui Ueyama <ruiu@google.com> |
Add a file magic for CL.exe's object file created with /GL.
This patch makes it possible to identify object files created by CL.exe with /GL option. Such file contains Microsoft proprietary intermed
Add a file magic for CL.exe's object file created with /GL.
This patch makes it possible to identify object files created by CL.exe with /GL option. Such file contains Microsoft proprietary intermediate code instead of target machine code to do LTO.
I need this to print out user-friendly error message from LLD.
Differential Revision: https://reviews.llvm.org/D26645
llvm-svn: 286919
show more ...
|
#
937dd7af |
| 17-Oct-2016 |
Benjamin Kramer <benny.kra@googlemail.com> |
[Support] remove_dots: Remove .. from absolute paths.
/../foo is still a proper path after removing the dotdot. This should now finally match https://9p.io/sys/doc/lexnames.html [Cleaning names].
l
[Support] remove_dots: Remove .. from absolute paths.
/../foo is still a proper path after removing the dotdot. This should now finally match https://9p.io/sys/doc/lexnames.html [Cleaning names].
llvm-svn: 284384
show more ...
|
#
af5a28fe |
| 13-Oct-2016 |
Eric Liu <ioeric@google.com> |
Do not delete leading ../ in remove_dots.
Reviewers: bkramer
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D25561
llvm-svn: 284129
|
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3, llvmorg-3.9.0-rc2, llvmorg-3.9.0-rc1 |
|
#
eb6d110c |
| 20-Jun-2016 |
Kevin Enderby <enderby@apple.com> |
Add support for Darwin’s 64-bit universal files with 64-bit offsets and sizes for the objects.
Darwin added support in its Xcode 8.0 tools (released in the beta) for universal files where offsets an
Add support for Darwin’s 64-bit universal files with 64-bit offsets and sizes for the objects.
Darwin added support in its Xcode 8.0 tools (released in the beta) for universal files where offsets and sizes for the objects are 64-bits to allow support for objects contained in universal files to be larger then 4gb. The change is very straight forward. There is a new magic number that differs by one bit, much like the 64-bit Mach-O files. Then there is a new structure that follow the fat_header that has the same layout but with the offset and size fields using 64-bit values instead of 32-bit values.
rdar://26899493
llvm-svn: 273207
show more ...
|
Revision tags: llvmorg-3.8.1, llvmorg-3.8.1-rc1 |
|
#
bbd10b45 |
| 17-May-2016 |
Teresa Johnson <tejohnson@google.com> |
[ThinLTO] Option to control path of distributed backend files
Summary: Add support to control where files for a distributed backend (the individual index files and optional imports files) are create
[ThinLTO] Option to control path of distributed backend files
Summary: Add support to control where files for a distributed backend (the individual index files and optional imports files) are created.
This is invoked with a new thinlto-prefix-replace option in the gold plugin and llvm-lto. If specified, expects a string of the form "oldprefix:newprefix", and instead of generating these files in the same directory path as the corresponding bitcode file, will use a path formed by replacing the bitcode file's path prefix matching oldprefix with newprefix.
Also add a new replace_path_prefix helper to Path.h in libSupport.
Depends on D19636.
Reviewers: joker.eph
Subscribers: llvm-commits, joker.eph
Differential Revision: http://reviews.llvm.org/D19644
llvm-svn: 269771
show more ...
|
#
7894938a |
| 29-Apr-2016 |
Filipe Cabecinhas <me@filcab.net> |
Add operator- to Path's reverse_iterator. Needed for D19666
Reviewers: rafael, craig.topper, bogner
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D19724
llvm-svn: 268062
|
Revision tags: llvmorg-3.8.0, llvmorg-3.8.0-rc3, llvmorg-3.8.0-rc2 |
|
#
87c85b7e |
| 26-Jan-2016 |
Kevin Enderby <enderby@apple.com> |
Fix identify_magic() to check that a file that starts with MH_MAGIC is at least as big as the mach header to be identified as a Mach-O file and make sure smaller files are not identified as a Mach-O
Fix identify_magic() to check that a file that starts with MH_MAGIC is at least as big as the mach header to be identified as a Mach-O file and make sure smaller files are not identified as a Mach-O files but as unknown files. Also fix identify_magic() so it looks at all 4 bytes of the filetype field when determining the type of the Mach-O file. Then fix the macho-invalid-header test case to check that it is an unknown file and make sure it does not get the error for object_error::parse_failed. And also update the unit tests.
llvm-svn: 258883
show more ...
|
Revision tags: llvmorg-3.8.0-rc1, llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1 |
|
#
662b4fd3 |
| 09-Nov-2015 |
Mike Aizatsky <aizatsky@chromium.org> |
Moving FileManager::removeDotPaths to llvm::sys::path::remove_dots
Differential Revision: http://reviews.llvm.org/D14393
llvm-svn: 252499
|
#
0e97e5cb |
| 02-Nov-2015 |
Pawel Bylica <chfast@gmail.com> |
[Support] Extend sys::path with user_cache_directory function.
Summary: The new function sys::path::user_cache_directory tries to discover a directory suitable for cache storage for current system u
[Support] Extend sys::path with user_cache_directory function.
Summary: The new function sys::path::user_cache_directory tries to discover a directory suitable for cache storage for current system user.
On Windows and Darwin it returns a path to system-specific user cache directory.
On Linux it follows XDG Base Directory Specification, what is: - use non-empty $XDG_CACHE_HOME env var, - use $HOME/.cache.
Reviewers: chapuni, aaron.ballman, rafael
Subscribers: rafael, aaron.ballman, llvm-commits
Differential Revision: http://reviews.llvm.org/D13801
llvm-svn: 251784
show more ...
|
#
64d08ff0 |
| 22-Oct-2015 |
Pawel Bylica <chfast@gmail.com> |
Use range-based for loop in sys::path::append(). NFC.
llvm-svn: 250999
|
#
ae1d5996 |
| 05-Oct-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
[Support] Add a version of fs::make_absolute with a custom CWD.
This will be used soon from clang.
llvm-svn: 249309
|
#
a26be4a9 |
| 02-Sep-2015 |
Douglas Katzman <dougk@google.com> |
Move twice-repeated clang path operation into a new function.
And make it more robust in the edge case of exactly "./" as input.
llvm-svn: 246711
|
Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4 |
|
#
6b9396c0 |
| 06-Aug-2015 |
Frederic Riss <friss@apple.com> |
Thread premissions through sys::fs::create_director{y|ies}
llvm-svn: 244268
|
Revision tags: llvmorg-3.7.0-rc2 |
|
#
69ef2afa |
| 22-Jul-2015 |
Rafael Espindola <rafael.espindola@gmail.com> |
Identify thin archives as archives.
llvm-svn: 242921
|
Revision tags: llvmorg-3.7.0-rc1 |
|
#
f662e00a |
| 15-Jul-2015 |
Rafael Espindola <rafael.espindola@gmail.com> |
Simplify a few uses of remove_filename by using parent_path instead.
llvm-svn: 242334
|
Revision tags: llvmorg-3.6.2, llvmorg-3.6.2-rc1, llvmorg-3.6.1, llvmorg-3.6.1-rc1 |
|
#
16132e6f |
| 23-Mar-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
Purge unused includes throughout libSupport.
NFC.
llvm-svn: 232976
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
2547f93e |
| 10-Mar-2015 |
Ben Langmuir <blangmuir@apple.com> |
Don't treat .foo as two path components in path::iterators
We were treating '/.foo' as ['/', '.', 'foo'] instead of ['/', '.foo'], which lead to insanity. Same for '..'.
llvm-svn: 231727
|
#
3206b79d |
| 02-Mar-2015 |
Rui Ueyama <ruiu@google.com> |
Use read{16,32,64}{le,be}() instead of *reinterpret_cast<u{little,big}{16,32,64}_t>().
llvm-svn: 231016
|
#
a7ad4b3f |
| 25-Feb-2015 |
Justin Bogner <mail@justinbogner.com> |
Object: Handle Mach-O kext bundle files
This particular subtype of Mach-O was missing. Add it.
llvm-svn: 230567
|
Revision tags: llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3 |
|
#
36f807c8 |
| 12-Feb-2015 |
Zachary Turner <zturner@google.com> |
Revert "Change Path::filename_pos() to skip the drive letter."
This reverts commit 228874. For some reason users reported seeing Clang taking up 25+GB of memory and bringing down machines with this
Revert "Change Path::filename_pos() to skip the drive letter."
This reverts commit 228874. For some reason users reported seeing Clang taking up 25+GB of memory and bringing down machines with this change. Reverting until we figure it out.
llvm-svn: 228890
show more ...
|
#
3e76643a |
| 11-Feb-2015 |
Zachary Turner <zturner@google.com> |
Change Path::filename_pos() to skip the drive letter.
For Windows, filename_pos() tries to find the filename by searching for separators after the last :. Instead, it should really check for the on
Change Path::filename_pos() to skip the drive letter.
For Windows, filename_pos() tries to find the filename by searching for separators after the last :. Instead, it should really check for the only location that a : is valid, which is in the second character, and search for separators after that.
llvm-svn: 228874
show more ...
|
Revision tags: llvmorg-3.6.0-rc2 |
|
#
e368a626 |
| 23-Jan-2015 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Object][ELF] Test unknown type.
llvm-svn: 226943
|
Revision tags: llvmorg-3.6.0-rc1 |
|
#
d9903888 |
| 14-Jan-2015 |
Chandler Carruth <chandlerc@gmail.com> |
[cleanup] Re-sort all the #include lines in LLVM using utils/sort_includes.py.
I clearly haven't done this in a while, so more changed than usual. This even uncovered a missing include from the Inst
[cleanup] Re-sort all the #include lines in LLVM using utils/sort_includes.py.
I clearly haven't done this in a while, so more changed than usual. This even uncovered a missing include from the InstrProf library that I've added. No functionality changed here, just mechanical cleanup of the include order.
llvm-svn: 225974
show more ...
|