HomePhabricator

[HIP] Remove useless sections in linked files

Description

[HIP] Remove useless sections in linked files

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.

Differential Revision: https://reviews.llvm.org/D54275

Details

Committed
yaxunlNov 9 2018, 10:52 AM
Differential Revision
D54275: [HIP] Remove useless sections in linked files
Branches
Unknown
Tags
Unknown