This is an archive of the discontinued LLVM Phabricator instance.

[gn build] Add build files for llvm-ar, llvm-nm, llvm-objdump, llvm-readelf (and deps DebugInfo/Symbolize, ToolDrivers/dll-tool)
ClosedPublic

Authored by thakis on Dec 16 2018, 8:43 AM.

Details

Summary

These are all binaries needed by check-lld that need symlinks.

Also add gn/build/libs/xar (needed by llvm-objdump).

Also delete an incorrect part of the symlink description in //BUILD.gn (it used to be true before I made the symlink step write a stamp file; now it's no longer true).

Diff Detail

Event Timeline

thakis created this revision.Dec 16 2018, 8:43 AM

phosek: ping :-)

phosek added inline comments.Dec 17 2018, 7:53 PM
llvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn
8

Shouldn't this also symlink llvm-ar as ar if llvm_install_binutils_symlinks is set?

phosek accepted this revision.Dec 17 2018, 7:54 PM

LGTM

This revision is now accepted and ready to land.Dec 17 2018, 7:54 PM
thakis marked 2 inline comments as done.Dec 18 2018, 5:46 AM

Thanks! Landing with comment addressed.

llvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn
8

It should, thanks for catching this!

This revision was automatically updated to reflect the committed changes.