diff options
author | Jim Ingham <jingham@apple.com> | 2013-09-10 02:09:47 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2013-09-10 02:09:47 +0000 |
commit | df0ae22f92ea1c371640fa9d2b5d461e7b38207f (patch) | |
tree | 6b7e4e0b29af477857b4b119f952a64024efe5ab /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | df59c4a93744e3f827f4d7fe9f35e06e31966520 (diff) | |
download | llvm-df0ae22f92ea1c371640fa9d2b5d461e7b38207f.zip llvm-df0ae22f92ea1c371640fa9d2b5d461e7b38207f.tar.gz llvm-df0ae22f92ea1c371640fa9d2b5d461e7b38207f.tar.bz2 |
Changing the default shell to /bin/sh brought up a long-standing bug on OS X,
that /bin/sh re-exec's itself to /bin/bash, so it needs one more resume when you
are using it as the shell than /bin/bash did or you will stop at the start of your
program, rather than running it.
So I added a Platform API to get the number of resumes needed when launching with
a particular shell, and set the right values for Mac OS X.
<rdar://problem/14935282>
llvm-svn: 190381
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions