commit | c57f8cd7ea6accd811897558dcd0e54c72f321d1 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <[email protected]> | Wed Sep 13 20:47:53 2017 |
committer | Rafael Espindola <[email protected]> | Wed Sep 13 20:47:53 2017 |
tree | a58cf43a26a72d04611a26886762eecb9c4e94b3 | |
parent | cb835d3fdbd09707b16a1075624b34204286949c [diff] |
Simplify. NFC. The isShared case was handled by the isInCurrentDSO check. llvm-svn: 313190
diff --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp index e11d39b..51253f3 100644 --- a/lld/ELF/Symbols.cpp +++ b/lld/ELF/Symbols.cpp
@@ -350,7 +350,7 @@ return Config->Shared; if (!body()->isInCurrentDSO()) return true; - return ExportDynamic || body()->isShared(); + return ExportDynamic; } // Print out a log message for --trace-symbol.