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
…nge disables the use of 'constructor aliases' to workaround the repository pruning pass's lack of support for aliases at the moment.
  • Loading branch information
paulhuggett committed Jan 22, 2018
1 parent 2276925 commit ff44bee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Driver/ToolChains/Clang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3404,7 +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.
if (!RawTriple.isOSDarwin() && !RawTriple.isNVPTX())
if (!RawTriple.isOSDarwin() && !RawTriple.isNVPTX() &&
!RawTriple.isOSBinFormatRepo())
CmdArgs.push_back("-mconstructor-aliases");

// Darwin's kernel doesn't support guard variables; just die if we
Expand Down

0 comments on commit ff44bee

Please sign in to comment.