diff options
Diffstat (limited to 'lld/ELF/Config.h')
-rw-r--r-- | lld/ELF/Config.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lld/ELF/Config.h b/lld/ELF/Config.h index 9144347045b9..a996a815599a 100644 --- a/lld/ELF/Config.h +++ b/lld/ELF/Config.h @@ -38,6 +38,10 @@ enum ELFKind { ELF64BEKind }; +// For -Bno-symbolic, -Bsymbolic-non-weak-functions, -Bsymbolic-functions, +// -Bsymbolic. +enum class BsymbolicKind { None, NonWeakFunctions, Functions, All }; + // For --build-id. enum class BuildIdKind { None, Fast, Md5, Sha1, Hexstring, Uuid }; @@ -144,8 +148,7 @@ struct Configuration { bool armHasMovtMovw = false; bool armJ1J2BranchEncoding = false; bool asNeeded = false; - bool bsymbolic = false; - bool bsymbolicFunctions = false; + BsymbolicKind bsymbolic = BsymbolicKind::None; bool callGraphProfileSort; bool checkSections; bool checkDynamicRelocs; |