projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a3492
)
Reduce expression to single line. NFC.
author
George Rimar
<grimar@accesssoftek.com>
Thu, 14 Apr 2016 13:47:04 +0000
(13:47 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Thu, 14 Apr 2016 13:47:04 +0000
(13:47 +0000)
llvm-svn: 266302
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index
31f8d76
..
cb5bc4c
100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-977,9
+977,7
@@
static bool includeInDynsym(const SymbolBody &B) {
uint8_t V = B.getVisibility();
if (V != STV_DEFAULT && V != STV_PROTECTED)
return false;
- if (Config->ExportDynamic || Config->Shared)
- return true;
- return false;
+ return Config->ExportDynamic || Config->Shared;
}
// This class knows how to create an output section for a given