llvm with tablegen backend for capstone disassembler
Go to file
Rafael Espindola 1dd2b3d1d0 Produce cpio files for --reproduce.
We want --reproduce to

* not rewrite scripts and thin archives
* work with absolute paths

Given that, it pretty much has to create a full directory tree. On windows that
is problematic because of the very short maximum path limit. On most cases
users can still work around it with "--repro c:\r", but that is annoying and
not viable for automated testing.

We then need to produce some form of archive with the files. The first option
that comes to mind is .a files since we already have code for writing them.
There are a few problems with them

The format has a dedicated string table, so we cannot start writing it until
all members are known.
Regular implementations don't support creating directories. We could make
llvm-ar support that, but that is probably not a good idea.
The next natural option would be tar. The problem is that to support long path
names (which is how this started) it needs a "pax extended header" making this
an annoying format to write.

The next option I looked at seems a natural fit: cpio files.

They are available on pretty much every unix, support directories and long path
names and are really easy to write. The only slightly annoying part is a
terminator, but at least gnu cpio only prints a warning if it is missing, which
is handy for crashes. This patch still makes an effort to always create it.

llvm-svn: 268404
2016-05-03 17:30:44 +00:00
clang [clang][AVX512][BuiltIn] Adding intrinsics for cast{pd|ps|si}128_{pd|ps|si}512 and castsi256_si512 instruction set 2016-05-03 14:26:52 +00:00
clang-tools-extra Fix cppcoreguidelines-pro-type-member-init failure test on Windows. 2016-05-03 11:19:46 +00:00
compiler-rt tsan: update tsan_analyze to what tip clang generates 2016-05-03 13:59:41 +00:00
debuginfo-tests
libclc prepare-builtins: Remove call to getGlobalContext() 2016-04-15 14:18:58 +00:00
libcxx [CMake] Fix a copy-paste error 2016-05-03 16:54:20 +00:00
libcxxabi Enable testing for static libc++abi 2016-04-19 12:47:38 +00:00
libunwind unwind: remove last instance of -Wexpansion-to-defined 2016-04-26 01:11:29 +00:00
lld Produce cpio files for --reproduce. 2016-05-03 17:30:44 +00:00
lldb Split out console and file writing cases in TestCommandScriptImmediateOutput 2016-05-03 16:31:36 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm Produce another specific error message for a malformed Mach-O file when a load 2016-05-03 17:16:08 +00:00
openmp Remove architecture dependent Hwloc DEBUG section 2016-04-25 21:11:26 +00:00
polly Typo: ToComplex -> TooComplex. NFC. 2016-05-02 12:25:36 +00:00