[PATCH] D27496: [ELF] Only binaries should have DT_DEBUG entry
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 17:41:34 PST 2016
ruiu added inline comments.
================
Comment at: ELF/SyntheticSections.cpp:798
- if (!Config->Entry.empty())
+ if (!Config->Shared && !Config->Relocatable)
add({DT_DEBUG, (uint64_t)0});
----------------
Do you actually want to exclude DSOs?
Repository:
rL LLVM
https://reviews.llvm.org/D27496
More information about the llvm-commits
mailing list