This is an archive of the discontinued LLVM Phabricator instance.

[dsymutil] Copy the LC_BUILD_VERSION load command into the companion binary
ClosedPublic

Authored by aprantl on Nov 7 2018, 3:03 PM.

Details

Summary

LC_BUILD_VERSION contains platform information that is useful for LLDB to match up dSYM bundles with binaries. This patch copies the load command over into the dSYM.

Diff Detail

Event Timeline

aprantl created this revision.Nov 7 2018, 3:03 PM
JDevlieghere accepted this revision.Nov 7 2018, 9:29 PM

LGTM

test/tools/dsymutil/X86/lc_build_version.test
1

nit: missing space before obj2yaml

This revision is now accepted and ready to land.Nov 7 2018, 9:29 PM
This revision was automatically updated to reflect the committed changes.