Skip to content

Commit

Permalink
[Darwin] Use per-architecture LLVM bitcode files for the OpenCilk run…
Browse files Browse the repository at this point in the history
…time.
  • Loading branch information
neboat committed Jun 10, 2024
1 parent f0ccde5 commit 53c575d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/lib/Driver/ToolChains/Darwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3426,6 +3426,8 @@ void DarwinClang::AddOpenCilkABIBitcode(const ArgList &Args,
: "libopencilk-abi");
BitcodeFilename += "_";
BitcodeFilename += getOSLibraryNameSuffix();
BitcodeFilename += "-";
BitcodeFilename += getMachOArchName(Args);
BitcodeFilename += ".bc";

for (auto RuntimePath : getOpenCilkRuntimePaths(Args)) {
Expand Down

0 comments on commit 53c575d

Please sign in to comment.