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 9, 2024
1 parent c299a04 commit 490d34a
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 490d34a

Please sign in to comment.