Skip to content
This repository was archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…nt to explain the previous change.
  • Loading branch information
paulhuggett committed Jan 26, 2018
1 parent 0f33689 commit c63b0f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Driver/ToolChains/Clang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3404,6 +3404,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
// Enable -mconstructor-aliases except on darwin, where we have to work around
// a linker bug (see <rdar://problem/7651567>), and CUDA device code, where
// aliases aren't supported.
// The program repo's digest-generation and pruning passes don't currently
// support aliases, so disable them here.
if (!RawTriple.isOSDarwin() && !RawTriple.isNVPTX() &&
!RawTriple.isOSBinFormatRepo())
CmdArgs.push_back("-mconstructor-aliases");
Expand Down

0 comments on commit c63b0f0

Please sign in to comment.