Go to file
Zachary Turner 7d564544eb Make dosep correctly invoke the top-level script when forking out
packages/Python/lldbsuite is now a Python package, and it relies
on its __init__.py being called to do package-level initialization.
If you exec packages/Python/lldbsuite/dotest.py directly, you won't
get this package level initialization, and things will fail.  But
without this patch, this is exactly what dosep itself does.  To
launch the multi-processing fork, it was hardcoding a path to
dotest.py and exec'ing it from inside the package.

The fix here is to get the path of the top-level script, and
then exec'ing that instead.  A more robust solution would involve
refactoring the code so that dosep execs some internal script that
imports lldbsuite, but that's a bit more involved.

Differential Revision: http://reviews.llvm.org/D14157
Reviewed by: Todd Fiala

llvm-svn: 251819
2015-11-02 19:19:49 +00:00
clang Clang format a few prior patches (NFC) 2015-11-02 18:03:12 +00:00
clang-tools-extra Make the modernize-loop-convert's const-detection smarter. 2015-11-02 17:02:52 +00:00
compiler-rt Revert "Apply modernize-use-default to compiler-rt." 2015-10-30 18:52:31 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Remove undefined behavior from some tests. Same pattern as the unitialized_copy tests 2015-11-02 15:29:13 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Add FreeBSD _Unwind_Ptr typedef 2015-10-16 19:40:09 +00:00
lld Make a method static. NFC. 2015-11-02 14:33:11 +00:00
lldb Make dosep correctly invoke the top-level script when forking out 2015-11-02 19:19:49 +00:00
llgo [llgo] irgen: always use TargetMachine's data layout 2015-09-25 06:28:14 +00:00
llvm ELF can handle some relocations of the form -sym + constant. 2015-11-02 19:13:59 +00:00
openmp [OPENMP] Add dependency to clang/clang-headers etc. for in-tree build of libomp. 2015-11-02 13:43:32 +00:00
polly ScopInfo: Bail out in case of mismatching array dimension sizes 2015-11-02 11:29:32 +00:00