]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259100:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 07:34:34 +0000 (07:34 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 07:34:34 +0000 (07:34 +0000)
commitd31a903d03ad85f75e6599278e87ca42af870524
tree9995d25f2f7b089d6b5617e76bfa0a5c5dd0270b
parente0a7669d8b2aca9d4c4a7c2122f1ec60c2ed25fd
MFC r259100:

Pull in r196658 from upstream clang trunk:

  CodeGen: Don't emit linkage on thunks that aren't emitted because they're
  vararg.

  This can happen when we're trying to emit a thunk with available_externally
  linkage with optimization enabled but bail because it doesn't make sense for
  vararg functions.

  [LLVM] PR18098.

This should fix clang "Broken module found, compilation aborted" errors when
building the qt4-based dvbcut port.

Reported by: se

git-svn-id: svn://svn.freebsd.org/base/stable/10@259214 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/tools/clang/lib/CodeGen/CGVTables.cpp