History log of /external/llvm/tools/bugpoint/ToolRunner.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
200c748a8643cd127271f4d6849da1e147d4442f 05-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> Add a createUniqueFile function and switch llvm's users of unique_file.

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).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
1276b396130a0cdbbb8e6c05a6e43123df18ed60 05-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> Use sys::fs::createTemporaryFile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185719 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
df0f525cc49511cf9dca82d77b93675bcaf5103c 26-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove unused includes.

llvm itself is now PathV1 clean.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
50188c1f42c122640ab9ccac2134acf371c26b2c 26-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Port GetMainExecutable over to PathV2.

I will remove the V1 version as soon as I change clang in the next commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
46fa7cf91af03373b6ab54f31215bb671698000f 25-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Move GetEXESuffix to the one place it is used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
3991c7274861862089530186ea4da6bda59c6964 18-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Convert most uses of PathV1.h in ToolRunner.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
21a78d149fc3939b19fe8a132ece0b4c1bd62517 18-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Return a std::string from PrependMainExecutablePath.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184204 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
f656a1d4991e52725f73308ee829ffce812c96d1 17-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Don't use PathV1.h in ToolRunner.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
c65aba032ebd4899687d75d542e0d2a39e286936 14-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Move PrependMainExecutablePath next to its only user.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183980 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
675e0ac0bfd6fb78423d9fbee9f50c1dec62c111 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Avoid using PathV1.h in Program.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
6585b388cb7bfc623adb9e4dd910423f838e5d96 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Have sys::FindProgramByName return a std::string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
13f17ea6c091423819b4008067f9835c7688edb4 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Further reduce usage of sys::Path in bugpoint.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183912 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
f37802859f7b87bc85899d19ff0868ddabc225e0 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Try to fix the build with libstdc++ 4.4.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
a4b504abc9925cf7bb62dffb6be2ed509371f21b 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Reduce sys::Path usage in bugpoint.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183908 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
9f1d9fd1964d82f3e801efb71518144492cdf290 12-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove the program class.

It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just
those two functions and make Execute and Wait implementations details.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
78d30972636423478f48480a3909b4582bec866a 24-Jan-2013 Saleem Abdulrasool <compnerd@compnerd.org> [bugpoint] set Message after tool configuration

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>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173359 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
f010c464a11444733ec67e31aace8bcebeaf2588 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort the #include lines for tools/...

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
9679f0f35742aa9792b01c26e08b2932cc8428ed 02-May-2012 John McCall <rjmccall@apple.com> Fix unintentional use of operator bool.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155978 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
a443e5b1f1013612950fc3c9ebfafca60a1c20df 23-Mar-2012 Eric Christopher <echristo@apple.com> Remove the C backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153307 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
2d24e2a396a1d211baaeedf32148a3b657240170 20-Dec-2011 David Blaikie <dblaikie@gmail.com> Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
33ba8b0e96acde0d8ab1ffc565a5ef4c8b6b6ac2 28-Oct-2011 Dan Gohman <gohman@apple.com> Remove the Alpha backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
dc5948d47205fd05184a25251e128db6a47b25c2 21-May-2011 Andrew Trick <atrick@apple.com> Have Program::Wait return -2 for crashed and timeouts instead of embedding
info in the error message. Per Dan's request.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131780 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
1680832a9b693e6f726570017237a984d4d390c8 11-May-2011 Andrew Trick <atrick@apple.com> Typo and missing checkin from r131186.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131187 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
7c863eb8cc34c8ae97ae90672758eb6637b1125f 11-May-2011 Andrew Trick <atrick@apple.com> Bugpoint support for miscompilations that result in a crash.

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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
912225e18559a73228099330a4c253fdccf9fa3d 19-Apr-2011 Daniel Dunbar <daniel@zuster.org> ADT/Triple: Move a variety of clients to using isOSDarwin() and isOSWindows()
predicates.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129816 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
c9c08fb3a7fb5e8ea3e1477a88507704c7a70ba1 31-Mar-2011 Michael J. Spencer <bigcheesegs@gmail.com> Switch FileRemover from PathV1 to V2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128630 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
f73311bb646bf970806ba7caba220e6bffff7b49 08-Feb-2011 Andrew Trick <atrick@apple.com> Added bugpoint options: -compile-custom and -compile-command=...

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
e1f2e502b99fa0bafa6da2976b0cad69dcf6ecd6 09-Nov-2010 Dan Gohman <gohman@apple.com> Fix some places where error messages were being swallowed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
d66f2b74f2f01bb1f6c7d0f1b8408bd24ffa654c 03-Nov-2010 Mikhail Glushenkov <foldr@codedgers.com> Rename FindExecutable to PrependMainExecutablePath.

Makes it more clear that it is just a path manipulation function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
544fba13628e022cd3c5be8bbb22b81f0f6b0fa3 03-Nov-2010 Mikhail Glushenkov <foldr@codedgers.com> 80-col violations, trailing whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
62a5ff573b2d72d7a51c4aebd0def311ecbc746d 29-Oct-2010 Dan Gohman <gohman@apple.com> Fix these error messages to not mention PATH in cases where
PATH isn't actually searched, and to not mention the executable
directory when it isn't actually searched.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117657 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
887b703d226fe913bf4b5c23935ba5b784eb993c 29-Jul-2010 Jakob Stoklund Olesen <stoklund@2pi.dk> Use the right gcc tool args for IsARMArchitecture.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109714 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
b30cdd830bc47067d881e00c5dbd7fdc7a94603d 25-Jul-2010 Rafael Espindola <rafael.espindola@gmail.com> Revert unintended white space change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109364 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
97595eb05c28b25a7042d6fa1a2e0f3099506a1e 25-Jul-2010 Rafael Espindola <rafael.espindola@gmail.com> Fix a trivial use after free.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
41396302126c24f1d5231e191852ebf2ff37fe23 24-May-2010 Duncan Sands <baldrick@free.fr> Apply timeouts and memory limits in more places. In particular, when
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104485 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
18e05b4692068b2cc1dfbc3aeb682ac2ec63d11b 13-May-2010 Jakob Stoklund Olesen <stoklund@2pi.dk> Fix complete badness in bugpoint's IsARMArchitecture() function.

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
faa95763ebb081769bf6ac35e170394c9d477813 10-May-2010 Kalle Raiskila <kalle.raiskila@nokia.com> Add command line option --gcc to bugpoint.
Remove sending duplicate of the --gcc-tool-args parameters to gcc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
8d0e1bcc921c942e979b0925051c663590bd618f 30-Apr-2010 Nick Lewycky <nicholas@mxc.ca> The llc -f flag was removed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
22ff748712b348300e51248339b6e8cf9b59e2c6 12-Apr-2010 Nick Lewycky <nicholas@mxc.ca> Remove use of exceptions from bugpoint. No deliberate functionality change!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101013 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
50010429a7c3285dab15ede68acae7231fade367 16-Mar-2010 Chris Lattner <sabre@nondot.org> add support for bugpointing the integrated assembler. Something like this
works for me: bugpoint Output/bisort.llvm.bc -run-llc-ia -safe-run-llc

This uses llc with the integrated assembler as the test compiler and llc
without it as the safe compiler.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
3ea11cf8fc4115927514e3b2c7f272a92fd99c89 17-Nov-2009 Duncan Sands <baldrick@free.fr> Make bugpoint pass -load arguments to LLI. This lets one use bugpoint with
programs that depend on native shared libraries. Patch by Timo Lindfors.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
05872ea804cdc9534960b30d28a391928c61481a 12-Nov-2009 Benjamin Kramer <benny.kra@googlemail.com> Add compare_lower and equals_lower methods to StringRef. Switch all users of
StringsEqualNoCase (from StringExtras.h) to it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
baa26395ccf17fc988bb9cf62d6659ca8415ece9 25-Aug-2009 Dan Gohman <gohman@apple.com> Make LLVM command-line tools overwrite their output files without -f.
This is conventional command-line tool behavior. -f now just means
"enable binary output on terminals".

Add a -f option to llvm-extract and llvm-link, for consistency.

Remove F_Force from raw_fd_ostream and enable overwriting and
truncating by default. Introduce an F_Excl flag to permit users to
enable a failure when the file already exists. This flag is
currently unused.

Update Makefiles and documentation accordingly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
23132b188ba651ba172380cd082cc286df73d440 24-Aug-2009 Chris Lattner <sabre@nondot.org> prune the #includes in raw_ostream.h by moving a
member out of line. ftostr is not particularly speedy,
so that method is presumably not perf sensitive.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79885 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
74382b7c699120fbec5cb5603c9cf4212eb37f06 24-Aug-2009 Chris Lattner <sabre@nondot.org> Prune #includes from llvm/Linker.h and llvm/System/Path.h,
forcing them down into various .cpp files.

This change also:
1. Renames TimeValue::toString() and Path::toString() to ::str()
for similarity with the STL.
2. Removes all stream insertion support for sys::Path, forcing
clients to call .str().
3. Removes a use of Config/alloca.h from bugpoint, using smallvector
instead.
4. Weans llvm-db off <iostream>

sys::Path really needs to be gutted, but I don't have the desire to
do it at this point.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
ad0f120f5909e0107e55a3913333d5cc59bbf0b6 19-Aug-2009 Benjamin Kramer <benny.kra@googlemail.com> Proper MSVC build fix (and remove my hack again). Patch by Yonggang Luo.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
e057e59061d24cb0891dbcf9ad8581bee6d03418 19-Aug-2009 Benjamin Kramer <benny.kra@googlemail.com> Add a hack to unbreak MSVC builds. str(n)casecmp are POSIX functions and aren't available on windows (mingw defines them though).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79417 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
ca7409664273fed4b473127295af3af0836b3077 18-Aug-2009 Daniel Dunbar <daniel@zuster.org> Change bugpoint to use Triple to make runtime decisions.
- This is cleaner, and makes bugpoint match the host instead of the build
architecture.

- Patch by Sandeep Patel!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
8608cf23dae982c7435120d800eaec2fca410ff6 05-Aug-2009 Dan Gohman <gohman@apple.com> Use (void *)(intptr_t) to cast function addresses to void*
for use with sys::Path::GetMainExecutable, to avoid warnings
with -pedantic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
197f728d49fa0cc0baa5aadb2b905fbd8c22a81e 05-Aug-2009 Dan Gohman <gohman@apple.com> Fix FindExecutable to use sys::Path::GetMainExecutable instead of
just argv[0]. And remove the code for searching the current
working directory and for searching PATH; the point of FindExecutable
is not to find whatever version of the executable can be found by
searching around, but to find an executable that accompanies the
current executable.

Update the tools to use sys::Program::FindProgramByName when they
want PATH searching.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
26964b6dc1fb1d3335b4c80c76bac7cb6103085c 05-Aug-2009 Anton Korobeynikov <asl@math.spbu.ru> Pass user only if it's non-empty. Patch by Sandeep.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78184 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
86c006a971eb6fab6bd4923ff7ec1c0bc9c28f74 05-Aug-2009 Anton Korobeynikov <asl@math.spbu.ru> Add save-temps option to bugpoint to keep temporary stuff.
Patch by Sandeep Patel

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78183 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
91cf36151663543bffcecaf01d4b6dcef2aa0f2b 20-Jul-2009 David Goodwin <david_goodwin@apple.com> For remote execution, must cd to the executable directory since the exe expects to find a dylib in the CWD ('.').


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76432 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
fc2271f3f5cf25a739f625ba7dfc6d618d26db7b 18-Jul-2009 Viktor Kutuzov <vkutuzov@accesssoftek.com> Require a remote command to exit with the exit status of the test program or with 255 if an error occurred.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
a1bdcedc3879510a874d24c450e07feb170d9cd6 15-Jul-2009 Dan Gohman <gohman@apple.com> Add a Force option to raw_fd_ostream to specify whether opening
an existing file is considered an error. Convert several tools
to use raw_fd_ostream instead of std::ostream, and to use this
new option instead of doing a manual check.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
65f57c233cd4499e2e8b52a503201e64edfd6a9e 15-Jul-2009 Dan Gohman <gohman@apple.com> Use errs() instead of std::cerr.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
f975e011fb7dd9f1def2c01dda350c19ef09e042 15-Jul-2009 Evan Cheng <evan.cheng@apple.com> control reaches end of non-void function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75714 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
699220b64fd6335cc678f830bb35aa5952d354e7 14-Jul-2009 Viktor Kutuzov <vkutuzov@accesssoftek.com> Fix for bugpoint -remote-client

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75665 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
84f9abe3f59905e06d63c799ea965e97c7566c83 11-Jul-2009 Daniel Dunbar <daniel@zuster.org> Fix unused function warning.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75386 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
80becf194d56524e8c75618ac57a34520f87a684 10-Jul-2009 David Goodwin <david_goodwin@apple.com> Support remote execute for ARM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
26edc21b1b68f126928b20124b5fca14a28bd428 05-May-2009 Evan Cheng <evan.cheng@apple.com> bugpoint for jit should just ignore GCC arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70988 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
fd82995823e00cb60cc8977280254de73ed9d6b7 12-Mar-2009 Evan Cheng <evan.cheng@apple.com> Also pass -gcc-tool-args when building a shared object.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
38efa38c864f6d29892d92102c0232b234b526ed 03-Mar-2009 Bill Wendling <isanbard@gmail.com> Add a "-gcc-tool-args" option. This option acts like the "-tool-args" option,
but passes the arguments to the "gcc" invocation instead of to the "llc"
invocation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65896 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
a971b294253cb848c0a640185f26459978c9ba41 12-Feb-2009 Dan Gohman <gohman@apple.com> Rename bugpoint's error message file so that if it somehow
gets left behind, it's less cryptic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64399 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
70f684fcf92e5cdd11a3b3fc9bf3519f8b745857 09-Sep-2008 Evan Cheng <evan.cheng@apple.com> Allow use of ssh to perform remote execution.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55979 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
9ef7425a4d44ff129495da2357c98c67162fbeff 28-Apr-2008 Anton Korobeynikov <asl@math.spbu.ru> Add possibility of using arbitrary to to execute stuff from bugpoint.
Patch by Pekka Jääskeläinen!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50373 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
af4fc28b5633d8cd2225e1b61d864f05a0967366 06-Apr-2008 Torok Edwin <edwintorok@gmail.com> -fPIC is required on x86-64 when building shared objects.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
21c62da287237d39d0d95004881ea4baae3be6da 29-Dec-2007 Chris Lattner <sabre@nondot.org> remove attributions from tools.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
8ff70c2635bfd4e02c0140a5dc9ca909fffba35a 04-Jul-2007 Gabor Greif <ggreif@gmail.com> Pretty straightforward replacement of "bytecode" by "bitcode"
performed on tools/ first, in order not to cause lethal damage


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37877 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
497391ad8d35fd8dcf6b48f459c179e3db3d3c5c 07-Jun-2007 Lauro Ramos Venancio <lauro.venancio@gmail.com> Fix bugpoint to run -llc-safe with -Xlinker.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37483 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
34e400ebe655160874f27d803811118a168599e1 03-May-2007 Evan Cheng <evan.cheng@apple.com> Added -rsh-host and -rsh-user to support remote execution.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
9ba8a76f8baaa1092d60ccfbc04e7efdc207c98f 16-Feb-2007 Anton Korobeynikov <asl@math.spbu.ru> Add possibility to set memory limit for binaries run via libSystem. This
is especially needed for bugpoint. This partly implements PR688


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
7f7fdcca8fabccb21967f0b12d68009ff6247acd 03-Jan-2007 Evan Cheng <evan.cheng@apple.com> A bit more debugging printf's.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32832 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
d42235051b4c43139c04ccd37a47df1471c01c4e 16-Sep-2006 Chris Lattner <sabre@nondot.org> comment out debug code


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30401 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
c600f3c337f18c62116ac58b701e4f7ae6d2fb1a 15-Sep-2006 Chris Lattner <sabre@nondot.org> Add a new -cbe-bug mode, which works just like -run-llc, except that it uses
LLC as the reference compiler to reduce testcases for bugs in GCC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
51c5a286bae5ad27ddc49602f44b7ea7253a4cc9 23-Aug-2006 Reid Spencer <rspencer@reidspencer.com> For PR797:
Final removal of exceptions from lib/System and adjustment of users to
accommodate.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
8ea5ecb0564b8822c70ad84202471f03e2690da7 21-Aug-2006 Reid Spencer <rspencer@reidspencer.com> For PR797:
Adjust usage of the ExecuteAndWait function to use the last argument which
is the ErrMsg string. This is necessitated because this function no longer
throws exceptions on error.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
023fcf977660e686e04f5bef0e2a7321db47df7e 21-Aug-2006 Reid Spencer <rspencer@reidspencer.com> For PR797:
Make sys::Program::ExecuteAndWait not throw exceptions and update any
affected code. It now return -9999 to signal that the program couldn't be
executed. Only one case (in bugpoint) actually examines the result code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29785 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
130e2a361147a31ae631d3648afdd95a5c0d40f2 27-Jun-2006 Chris Lattner <sabre@nondot.org> Pass -Xlinker flags to gcc when it builds the shared object.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
629e48768abd320107eae8e23d5af1e38d4c0fbe 09-Jun-2006 Chris Lattner <sabre@nondot.org> After telling GCC to type of the input file with -x asm/-x c, switch back to
-x none, to not foul up autodetection of .a file or .dylibs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
f1b20d8620b05abaa52f40ac6d21f839b265fb00 07-Jun-2006 Chris Lattner <sabre@nondot.org> Move ToolRunner.(cpp|h) into the bugpoint directory


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
51ab5c8862466bbddcd5c4369779c472978ed309 06-Jun-2006 Reid Spencer <rspencer@reidspencer.com> Add the -Xlinker option to bugpoint which allows an option to be passed
through to gcc when its being used as a linker. This allows -L and -l
(and any other) options to be added so that non-complete bytecode files
can be processed with bugpoint. The -Xlinker option can be added as many
times as needed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28692 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
fdcc71eaa804f3a2604485def9c3757488e8dcdb 04-Feb-2006 Chris Lattner <sabre@nondot.org> Let bugpoint work on sparc with v9 instructions enabled.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
86a5484079abc8a20f24066aaf3f5efcccebb673 22-Jan-2006 Chris Lattner <sabre@nondot.org> Add explicit #includes of <iostream>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25509 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
4df8665bf90e6a7631c9dec36c259e9daf46bfd6 17-Jan-2006 Chris Lattner <sabre@nondot.org> Revert this, I didn't mean to commit it


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25382 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
79959d21c7b2fb7bb970949b9a5227036cd50d39 17-Jan-2006 Chris Lattner <sabre@nondot.org> Add support for programs with a null argv[0]


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
d00b28809d64efa699507bce2ffce167559cd0d1 29-Aug-2005 Chris Lattner <sabre@nondot.org> Allow bugpoint+PPC codegen to use fsqrt


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23128 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
a229c5cce75209047db32c6039aa0b0fd481f049 08-Jul-2005 Reid Spencer <rspencer@reidspencer.com> Final Changes For PR495:

This chagne just renames some sys::Path methods to ensure they are not
misused. The Path documentation now divides methods into two dimensions:
Path/Disk and accessor/mutator. Path accessors and mutators only operate
on the Path object itself without making any disk accesses. Disk accessors
and mutators will also access or modify the file system. Because of the
potentially destructive nature of disk mutators, it was decided that all
such methods should end in the work "Disk" to ensure the user recognizes
that the change will occur on the file system. This patch makes that
change. The method name changes are:

makeReadable -> makeReadableOnDisk
makeWriteable -> makeWriteableOnDisk
makeExecutable -> makeExecutableOnDisk
setStatusInfo -> setStatusInfoOnDisk
createDirectory -> createDirectoryOnDisk
createFile -> createFileOnDisk
createTemporaryFile -> createTemporaryFileOnDisk
destroy -> eraseFromDisk
rename -> renamePathOnDisk

These changes pass the Linux Deja Gnu tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
72b286b0a0f8987bc247ae052ac86008c553e9ae 08-Jul-2005 Nate Begeman <natebegeman@mac.com> Add support for assembling .s files on mac os x for intel
Add support for running bugpoint on mac os x for intel


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22351 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
dd04df0ec33a903ee7fc747701bafde622f77d8b 08-Jul-2005 Reid Spencer <rspencer@reidspencer.com> For PR495:
Get rid of the difference between file paths and directory paths. The Path
class now simply stores a path that can refer to either a file or a
directory. This required various changes in the implementation and interface
of the class with the corresponding impact to its users. Doxygen comments were
also updated to reflect these changes. Interface changes are:

appendDirectory -> appendComponent
appendFile -> appendComponent
elideDirectory -> eraseComponent
elideFile -> eraseComponent
elideSuffix -> eraseSuffix
renameFile -> rename
setDirectory -> set
setFile -> set

Changes pass Dejagnu and llvm-test/SingleSource tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
f976c856fcc5055f3fc7d9f070d72c2d027c1d9d 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
572668aa38e080b1c361c93b91a7d367a69e3015 10-Mar-2005 Andrew Lenharth <andrewl@lenharth.org> yay for camel_cvs diff


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20552 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
1c81f1390dddeb14c19bbab7b4715af3a5985877 09-Mar-2005 Chris Lattner <sabre@nondot.org> get bugpoint working on ia64, by building .so's with -fpic. :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20525 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
e56509c697db97771e27217a527186154173e6d1 27-Feb-2005 Chris Lattner <sabre@nondot.org> Remove some stuff I checked in accidentally


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20340 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
45495c524841aa94107d5331f5522c5c6d2024cd 14-Feb-2005 Chris Lattner <sabre@nondot.org> Move helper function here.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20168 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
b31baa88a5e6869ccac71aef53a672bb87a029c3 19-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
* Pass sys::Path instead of std::string for paths
* Correct the types of arguments passed to RunProgramWithTimeout due to its
interface using sys::Path instead of std::string
* Replace "/dev/null" (not portable) with empty string which
sys::Program::ExecuteAndWait recognizes as "redirect to bit bucket"


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
9ac141823d6180f8a49299c55ed8fc8b9a8310a3 17-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
* Make the OutputC and OutputAsm functions work with sys::Path for the output
file name instead of using std::string.
* Get rid of extraneous "toString" calls.
* Change "removeFile" to sys::Path::destroyFile()


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
cda985e1912d6f09a21bc84660dca4c3efdcb939 15-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
* Remove #inclusion of FileUtilities.h, not needed any more.
* Convert getUniqueFilename -> sys::Pat::makeUnique()


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
51ab8ec66ed8259d842490055659027a58a77910 14-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
Adjust to changes in the interface of FindExecutable, getting ToolRunner
ready for bigger things to come.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
a564845f838cb9e56e6df5106ad57d91552e6568 29-Nov-2004 Reid Spencer <rspencer@reidspencer.com> Shared library extension is now in LTDL_SHLIB_EXT


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
a59145785719462aec77a5995cde54e0a82f8a5b 09-Nov-2004 Nate Begeman <natebegeman@mac.com> Allow hbd to be bugpointable on darwin by fixing common and linkonce codegen


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
792558898fc8d79fd208a0b0bf8248b62139ff03 18-Oct-2004 Nate Begeman <natebegeman@mac.com> Pass -single_module option to gcc when linking dynamic libraries for use with bugpoint, so that we can bugpoint multiple .cp files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17102 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
551ccae044b0ff658fe629dd67edd5ffe75d10e8 02-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
e96b2ed2117c25e2ff4c8ba458b7fa98ac756383 24-Jul-2004 Chris Lattner <sabre@nondot.org> Pass timeouts into the low level "execute program with timeout" function


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
7848e68c1635ccba5a08d55314d4e5aed5ab54b9 21-Jul-2004 Brian Gaeke <gaeke@uiuc.edu> These files don't need to include <iostream> since they include "Support/Debug.h".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
e312e156c3fd39481460f97b666e8fb5eca13346 19-Jul-2004 Chris Lattner <sabre@nondot.org> Err, fix last checkin


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14995 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
5fbf29ce5322d619fec4a42d6f821ed6134913ee 19-Jul-2004 Chris Lattner <sabre@nondot.org> Fix bugpoint miscompilation support on OS/X

Patch contributed by the fabulous Nate Begeman.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
b3998ec5c5865c5c06935065a73b9519190daba1 16-Jul-2004 Misha Brukman <brukman+llvm@gmail.com> Correctly build shared objects on MacOS X for debugging code generators


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14892 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
48b008db57cf1ffabf949364622c9ecfe0ec85c4 05-May-2004 Brian Gaeke <gaeke@uiuc.edu> Apply simplification suggested by Chris: why assign() when operator = will do?


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13364 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
d11577b68b442217153ecbcc93b978a5a700a8ed 04-May-2004 Brian Gaeke <gaeke@uiuc.edu> Add "Args" optional argument to AbstractInterpreter factory methods, which
fills in a ToolArgs vector in the AbstractInterpreter if it is set. This
ToolArgs vector is used to pass additional arguments to LLI and/or LLC.
This is intended to address Bug 40.

Also, make -debug-only=toolrunner work for the LLC and CBE
AbstractInterpreters.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13356 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
8505c867b1ff74cded2cf8ec211584b965683388 05-Apr-2004 Chris Lattner <sabre@nondot.org> lli no longer takes the -quiet option!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
1d29a6d6c7a7f6203065c003d3d2d002870e38a1 19-Feb-2004 Alkis Evlogimenos <alkis@evlogimenos.com> Make ToolExecutionError inherit std::exception and implement its
interface: getMessage() is gone, use what() instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
9cbbee332f3c4e3531cc8b13d6d8b427034c6a23 19-Feb-2004 Chris Lattner <sabre@nondot.org> Add support for just running the code generator


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
a3de11783f04a53ffb625a7ced7d6080705c9762 18-Feb-2004 Chris Lattner <sabre@nondot.org> indent correctly


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11601 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
722ca7128541c0fd09ae3da92bde95b9925bb6a4 18-Feb-2004 Chris Lattner <sabre@nondot.org> Don't yell. BUGPOINT should yell, not the tool runner :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11600 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
89bf9ea65e83333bf3ebbf140b6eb07b41ecae64 18-Feb-2004 Chris Lattner <sabre@nondot.org> If there is an error running a tool, include the error message (e.g. assertion failure) in the exception


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
8c56be5e2b860ce5f22ed157c1b02409c353749c 18-Feb-2004 Chris Lattner <sabre@nondot.org> When an error occurs executing a tool, we now throw an exception instead
of calling exit(1).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
9915cd9e9f909b2edc175cf674680af651c47fb0 17-Feb-2004 Chris Lattner <sabre@nondot.org> The C backend is no longer in llvm-dis, it's in llc


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11533 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
7f7d16b62f9789c378a489a65ad51d50687c4c36 26-Jan-2004 John Criswell <criswell@uiuc.edu> Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so into
every file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
2cdd21c2e4d855500dfb53f77aa74da53ccf9de6 14-Dec-2003 Chris Lattner <sabre@nondot.org> Finegrainify namespacification


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
c8db76c647c93a79f66b094a2db3eaccb14cbae4 18-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Only use -Wl,-R. if HAVE_LINK_R.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
d0fde30ce850b78371fd1386338350591f9ff494 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Put all LLVM code into the llvm namespace, as per bug 109.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
b576c94c15af9a440f69d9d03c2afead7971118c 20-Oct-2003 John Criswell <criswell@uiuc.edu> Added LLVM project notice to the top of every C++ source file.
Header files will be on the way.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
0b1fe84e810f3b424009aef90f8c667c5c1c5784 19-Oct-2003 Chris Lattner <sabre@nondot.org> Add debugtype, make output marginally more nice


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
7b2ccffa594e9bdecddfa1f76a8ca2ae2c377084 19-Oct-2003 Chris Lattner <sabre@nondot.org> Fix PR #47


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
1f0f1621f0be4efdf4b2d20046f7d081863b817e 18-Oct-2003 Chris Lattner <sabre@nondot.org> Without this option, the -run-llc mode does not work with shared objects at
all, making it pointless for use with the code generator debugger. With it,
it works like a charm.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
eeed98382158c5049e7700c768a74b9122fffd71 14-Oct-2003 Chris Lattner <sabre@nondot.org> Generalize abstract interpreter interface to allow linking in an arbitrary number of shared objects


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9129 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
7915a1e764a5472d89a5ea40fbc22515afc5abf2 14-Oct-2003 Chris Lattner <sabre@nondot.org> Substantial cleanups:
* Add header comment
* Remove extraneous #includes
* Move the FileType enum into the GCC class
* The GCC class is not virtual.
* Move all of the "constructor" functions into the classes themselves
* Stop using cl::list as arguments, use std::vector instead (which cl::list
derives from)
* Improve comments


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9121 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
1798e4ade88c1fccfc290846f588c1d1261a5299 14-Oct-2003 Chris Lattner <sabre@nondot.org> Actually return an error if something bad happens, don't just exit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
da17eb62f74eb6021703e30df29f5fc6e8aabd0b 13-Oct-2003 Chris Lattner <sabre@nondot.org> LLI no longer has -abort-on-exception


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
6873450ed50b37d131f901058688445d0081829c 06-Oct-2003 Misha Brukman <brukman+llvm@gmail.com> ToolRunner.h has been moved from include/Support to include/llvm/Support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp
9558c6af7bb60e8d12a8a27c0554dc50c858ef65 30-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> Implementation of the abstraction of running our tools + gcc, taken out of
bugpoint for general usage and enjoyment.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/ToolRunner.cpp