This is an archive of the discontinued LLVM Phabricator instance.

Use callback for internalizing linked symbols.
AbandonedPublic

Authored by JDevlieghere on Mar 9 2017, 2:12 PM.

Details

Summary

Changes in clang for D30738

Diff Detail

Repository
rL LLVM

Event Timeline

JDevlieghere created this revision.Mar 9 2017, 2:12 PM
JDevlieghere added a subscriber: cfe-commits.
tejohnson edited edge metadata.Mar 9 2017, 2:24 PM

Great, thanks. One question below and a format nit.

lib/CodeGen/CodeGenAction.cpp
177

Needs clang-format (you can use git clang-format to change just the files in this patch if you use git).

186

Similar question (to what I added to the LLVM patch just now) as to why this is needed given the default for that parameter.

tejohnson accepted this revision.Mar 9 2017, 3:22 PM

LGTM with the format fix I pointed out.

lib/CodeGen/CodeGenAction.cpp
186

As in the other patch, ignore my nonsense comment here.

This revision is now accepted and ready to land.Mar 9 2017, 3:22 PM
JDevlieghere marked 3 inline comments as done.
  • Reformat
  • Call helper rather than initializing the pass
  • Pass StringSet by const ref.
mehdi_amini edited edge metadata.Mar 10 2017, 8:21 AM

Off topic, but since this is a rev lock change with LLVM, you can to all of in a single revision with: http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo

JDevlieghere abandoned this revision.Mar 13 2017, 2:25 AM

Off topic, but since this is a rev lock change with LLVM, you can to all of in a single revision with: http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo

Thanks! I've updated D30738 to include both changes.