| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 221221
|
| |
|
|
|
|
|
|
|
|
| |
this, and in some circumstances (e.g. reducing particularly large test-cases)
this was causing bugpoint to be killed for hitting open file-handle limits.
No test case: I was only able to trigger this with test cases taking upwards of
10 mins to run.
llvm-svn: 219244
|
| |
|
|
|
|
|
| |
couldn't be reopened on Win32.
FIXME: We may have an option in openFileForWrite(), not to use ResultFD but to close it.
llvm-svn: 212902
|
| |
|
|
| |
llvm-svn: 210876
|
| |
|
|
|
|
| |
This should make sure that most new uses use the std prefix.
llvm-svn: 210835
|
| |
|
|
| |
llvm-svn: 207176
|
| |
|
|
|
|
| |
definition below all of the header #include lines, tools edition.
llvm-svn: 206848
|
| |
|
|
|
|
| |
class.
llvm-svn: 203345
|
| |
|
|
|
|
|
| |
Args is an output parameter of the function lexCommand but the reference
operator was missed.
llvm-svn: 203343
|
| |
|
|
| |
llvm-svn: 194007
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function is complementary to createTemporaryFile. It handles the case were
the unique file is *not* temporary: we will rename it in the end. Since we
will rename it, the file has to be in the same filesystem as the final
destination and we don't prepend the system temporary directory.
This has a small semantic difference from unique_file: the default mode is 0666.
This matches the behavior of most unix tools. For example, with this change
lld now produces files with the same permissions as ld. I will add a test
of this change when I port clang over to createUniqueFile (next commit).
llvm-svn: 185726
|
| |
|
|
| |
llvm-svn: 185719
|
| |
|
|
|
|
| |
llvm itself is now PathV1 clean.
llvm-svn: 184947
|
| |
|
|
|
|
| |
I will remove the V1 version as soon as I change clang in the next commit.
llvm-svn: 184914
|
| |
|
|
| |
llvm-svn: 184853
|
| |
|
|
| |
llvm-svn: 184210
|
| |
|
|
| |
llvm-svn: 184204
|
| |
|
|
| |
llvm-svn: 184107
|
| |
|
|
| |
llvm-svn: 183980
|
| |
|
|
| |
llvm-svn: 183940
|
| |
|
|
| |
llvm-svn: 183928
|
| |
|
|
| |
llvm-svn: 183912
|
| |
|
|
| |
llvm-svn: 183909
|
| |
|
|
| |
llvm-svn: 183908
|
| |
|
|
|
|
|
| |
It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just
those two functions and make Execute and Wait implementations details.
llvm-svn: 183864
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Again, tools are trickier to pick the main module header for than
library source files. I've started to follow the pattern of using
LLVMContext.h when it is included as a stub for program source files.
llvm-svn: 169252
|
| |
|
|
| |
llvm-svn: 155978
|
| |
|
|
| |
llvm-svn: 153307
|
| |
|
|
|
|
| |
http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146960
|
| |
|
|
| |
llvm-svn: 143164
|
| |
|
|
|
|
| |
info in the error message. Per Dan's request.
llvm-svn: 131780
|
| |
|
|
| |
llvm-svn: 131187
|
| |
|
|
|
|
|
|
|
| |
This change allows bugpoint to pinpoint the "opt" pass and bitcode
segment responsible for a crash caused by miscompilation. At least it
works well for me now, without having to create any custom execution
wrappers.
llvm-svn: 131186
|
| |
|
|
|
|
| |
predicates.
llvm-svn: 129816
|
| |
|
|
| |
llvm-svn: 128630
|
| |
|
|
|
|
|
|
|
| |
I've been using this mode to narrow down llc unit tests. Example
custom compile script:
llc "$@"
not pygrep.py 'mul\s+r([0-9]), r\1,' < bugpoint-test-program.s
llvm-svn: 125096
|
| |
|
|
| |
llvm-svn: 120298
|
| |
|
|
| |
llvm-svn: 118464
|
| |
|
|
|
|
| |
Makes it more clear that it is just a path manipulation function.
llvm-svn: 118174
|
| |
|
|
| |
llvm-svn: 118173
|
| |
|
|
|
|
|
| |
PATH isn't actually searched, and to not mention the executable
directory when it isn't actually searched.
llvm-svn: 117657
|
| |
|
|
| |
llvm-svn: 109714
|
| |
|
|
| |
llvm-svn: 109364
|
| |
|
|
| |
llvm-svn: 109363
|
| |
|
|
|
|
|
|
| |
bugpoint does "Running the code generator to test for a crash" this
gets you a crash if llc goes into an infinite loop or uses up vast
amounts of memory.
llvm-svn: 104485
|
| |
|
|
|
|
|
|
|
|
| |
The revision history for this function is interesting, with multiple layers of
wrongness being introduced one at a time.
This fixes a weird issue where bugpoint -run-llc would suddenly exit 13 half way
through isolating a miscompilation.
llvm-svn: 103721
|
| |
|
|
|
|
| |
Remove sending duplicate of the --gcc-tool-args parameters to gcc.
llvm-svn: 103397
|
| |
|
|
| |
llvm-svn: 102670
|
| |
|
|
| |
llvm-svn: 101013
|