This is an archive of the discontinued LLVM Phabricator instance.

[HIP] Remove useless sections in linked files
ClosedPublic

Authored by yaxunl on Nov 8 2018, 2:03 PM.

Details

Summary

clang-offload-bundler creates __CLANG_OFFLOAD_BUNDLE__* sections in the bundles,
which get into the linked files. These sections are useless after linking. They waste disk
space and cause confusion for clang when directly linked with other object files, therefore
should be removed.

Diff Detail

Repository
rC Clang

Event Timeline

yaxunl created this revision.Nov 8 2018, 2:03 PM
tra accepted this revision.Nov 9 2018, 10:09 AM
This revision is now accepted and ready to land.Nov 9 2018, 10:09 AM
This revision was automatically updated to reflect the committed changes.