diff options
Diffstat (limited to 'lld/ELF/Symbols.h')
-rw-r--r-- | lld/ELF/Symbols.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/ELF/Symbols.h b/lld/ELF/Symbols.h index 0e6bd406d1f..02855c5ff9f 100644 --- a/lld/ELF/Symbols.h +++ b/lld/ELF/Symbols.h @@ -70,7 +70,7 @@ public: } bool isLocal() const { return IsLocal; } InputFile *getFile() const; - bool isPreemptible() const; + bool isPreemptible() const { return IsPreemptible; } StringRef getName() const { return Name; } uint8_t getVisibility() const { return StOther & 0x3; } void parseSymbolVersion(); @@ -121,6 +121,8 @@ public: // True if this symbol is in the Igot sub-section of the .got.plt or .got. unsigned IsInIgot : 1; + unsigned IsPreemptible : 1; + // The following fields have the same meaning as the ELF symbol attributes. uint8_t Type; // symbol type uint8_t StOther; // st_other field value |