projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Orc] Remove the FPRPCChannel class from RPCChannel.h - it requires unistd.h,
[oota-llvm.git]
/
include
/
llvm
/
MC
/
MCSymbolELF.h
diff --git
a/include/llvm/MC/MCSymbolELF.h
b/include/llvm/MC/MCSymbolELF.h
index 374e6b87f713fe3b7488b9c5c6cf050e9c5c7284..bbcd22e8e7dbe15fac4238ee86a28b3198d133fe 100644
(file)
--- a/
include/llvm/MC/MCSymbolELF.h
+++ b/
include/llvm/MC/MCSymbolELF.h
@@
-17,15
+17,9
@@
class MCSymbolELF : public MCSymbol {
/// symbol has no size this field will be NULL.
const MCExpr *SymbolSize = nullptr;
/// symbol has no size this field will be NULL.
const MCExpr *SymbolSize = nullptr;
- mutable unsigned BindingSet : 1;
- mutable unsigned UsedInReloc : 1;
- mutable unsigned WeakrefUsedInReloc : 1;
- mutable unsigned IsSignature : 1;
-
public:
MCSymbolELF(const StringMapEntry<bool> *Name, bool isTemporary)
public:
MCSymbolELF(const StringMapEntry<bool> *Name, bool isTemporary)
- : MCSymbol(true, Name, isTemporary), BindingSet(false),
- UsedInReloc(false), WeakrefUsedInReloc(false), IsSignature(false) {}
+ : MCSymbol(SymbolKindELF, Name, isTemporary) {}
void setSize(const MCExpr *SS) { SymbolSize = SS; }
const MCExpr *getSize() const { return SymbolSize; }
void setSize(const MCExpr *SS) { SymbolSize = SS; }
const MCExpr *getSize() const { return SymbolSize; }
@@
-42,10
+36,7
@@
public:
void setBinding(unsigned Binding) const;
unsigned getBinding() const;
void setBinding(unsigned Binding) const;
unsigned getBinding() const;
- bool isBindingSet() const { return BindingSet; }
-
- void setUsedInReloc() const;
- bool isUsedInReloc() const;
+ bool isBindingSet() const;
void setIsWeakrefUsedInReloc() const;
bool isWeakrefUsedInReloc() const;
void setIsWeakrefUsedInReloc() const;
bool isWeakrefUsedInReloc() const;
@@
-54,6
+45,9
@@
public:
bool isSignature() const;
static bool classof(const MCSymbol *S) { return S->isELF(); }
bool isSignature() const;
static bool classof(const MCSymbol *S) { return S->isELF(); }
+
+private:
+ void setIsBindingSet() const;
};
}
};
}