diff options
| author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2021-01-13 21:34:21 -0500 |
|---|---|---|
| committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2021-01-13 21:34:54 -0500 |
| commit | eec856848ccc481b2704ebf64d725e635a3d7dca (patch) | |
| tree | a72e8d6a87b4b675cf6d77d5d40d890821a0bebf /llvm/lib/Support/Unix/Program.inc | |
| parent | ff40fb07ad6309131c2448ca00572a078c7a2d59 (diff) | |
| download | llvm-eec856848ccc481b2704ebf64d725e635a3d7dca.zip llvm-eec856848ccc481b2704ebf64d725e635a3d7dca.tar.gz llvm-eec856848ccc481b2704ebf64d725e635a3d7dca.tar.bz2 | |
Revert "[Support] On Windows, take the affinity mask into account"
This reverts commit 336ab2d51dfdd5ca09c2a9c506453db4fe653584.
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
| -rw-r--r-- | llvm/lib/Support/Unix/Program.inc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc index fb56fa4..8f41fc0 100644 --- a/llvm/lib/Support/Unix/Program.inc +++ b/llvm/lib/Support/Unix/Program.inc @@ -174,8 +174,7 @@ toNullTerminatedCStringArray(ArrayRef<StringRef> Strings, StringSaver &Saver) { static bool Execute(ProcessInfo &PI, StringRef Program, ArrayRef<StringRef> Args, Optional<ArrayRef<StringRef>> Env, ArrayRef<Optional<StringRef>> Redirects, - unsigned MemoryLimit, std::string *ErrMsg, - BitVector *AffinityMask) { + unsigned MemoryLimit, std::string *ErrMsg) { if (!llvm::sys::fs::exists(Program)) { if (ErrMsg) *ErrMsg = std::string("Executable \"") + Program.str() + @@ -183,9 +182,6 @@ static bool Execute(ProcessInfo &PI, StringRef Program, return false; } - assert(!AffinityMask && "Starting a process with an affinity mask is " - "currently not supported on Unix!"); - BumpPtrAllocator Allocator; StringSaver Saver(Allocator); std::vector<const char *> ArgVector, EnvVector; |
