Add comments.

llvm-svn: 281098
This commit is contained in:
Rui Ueyama 2016-09-09 21:35:38 +00:00
parent b1ad4e2cf4
commit 478f8eb6ef

View File

@ -478,6 +478,10 @@ template <class ELFT> void SharedFile<ELFT>::parseSoName() {
}
this->initStringTable();
// DSOs are identified by soname, and they usually contain
// DT_SONAME tag in their header. But if they are missing,
// filenames are used as default sonames.
SoName = sys::path::filename(this->getName());
if (!DynamicSec)