| commit | 478f8eb6ef1024b6fa6bd3f823746b5c7c957775 | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Fri Sep 09 21:35:38 2016 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Fri Sep 09 21:35:38 2016 +0000 |
| tree | 486520377ffbb3faf7d352cb8927c2a109a6ef52 | |
| parent | b1ad4e2cf4b718e09627078c7007dfed56bb2fda [diff] [blame] |
Add comments. llvm-svn: 281098
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index fbe34e6..73bb65d 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp
@@ -478,6 +478,10 @@ } 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)