mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-04 08:41:49 +00:00
SymbolRecord - consistently use explicit for single operand constructors
llvm-svn: 374673
This commit is contained in:
parent
4e1d47e24d
commit
e66bfcd64d
@ -333,7 +333,7 @@ private:
|
|||||||
class InlineSiteSym : public SymbolRecord {
|
class InlineSiteSym : public SymbolRecord {
|
||||||
public:
|
public:
|
||||||
explicit InlineSiteSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit InlineSiteSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
InlineSiteSym(uint32_t RecordOffset)
|
explicit InlineSiteSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::InlineSiteSym),
|
: SymbolRecord(SymbolRecordKind::InlineSiteSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -371,7 +371,7 @@ public:
|
|||||||
class RegisterSym : public SymbolRecord {
|
class RegisterSym : public SymbolRecord {
|
||||||
public:
|
public:
|
||||||
explicit RegisterSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit RegisterSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
RegisterSym(uint32_t RecordOffset)
|
explicit RegisterSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::RegisterSym),
|
: SymbolRecord(SymbolRecordKind::RegisterSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -453,7 +453,7 @@ class DefRangeSubfieldSym : public SymbolRecord {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DefRangeSubfieldSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit DefRangeSubfieldSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
DefRangeSubfieldSym(uint32_t RecordOffset)
|
explicit DefRangeSubfieldSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::DefRangeSubfieldSym),
|
: SymbolRecord(SymbolRecordKind::DefRangeSubfieldSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -478,7 +478,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
explicit DefRangeRegisterSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit DefRangeRegisterSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
DefRangeRegisterSym(uint32_t RecordOffset)
|
explicit DefRangeRegisterSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::DefRangeRegisterSym),
|
: SymbolRecord(SymbolRecordKind::DefRangeRegisterSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -502,7 +502,7 @@ public:
|
|||||||
|
|
||||||
explicit DefRangeSubfieldRegisterSym(SymbolRecordKind Kind)
|
explicit DefRangeSubfieldRegisterSym(SymbolRecordKind Kind)
|
||||||
: SymbolRecord(Kind) {}
|
: SymbolRecord(Kind) {}
|
||||||
DefRangeSubfieldRegisterSym(uint32_t RecordOffset)
|
explicit DefRangeSubfieldRegisterSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::DefRangeSubfieldRegisterSym),
|
: SymbolRecord(SymbolRecordKind::DefRangeSubfieldRegisterSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -526,7 +526,7 @@ public:
|
|||||||
|
|
||||||
explicit DefRangeFramePointerRelSym(SymbolRecordKind Kind)
|
explicit DefRangeFramePointerRelSym(SymbolRecordKind Kind)
|
||||||
: SymbolRecord(Kind) {}
|
: SymbolRecord(Kind) {}
|
||||||
DefRangeFramePointerRelSym(uint32_t RecordOffset)
|
explicit DefRangeFramePointerRelSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::DefRangeFramePointerRelSym),
|
: SymbolRecord(SymbolRecordKind::DefRangeFramePointerRelSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -639,7 +639,7 @@ class ObjNameSym : public SymbolRecord {
|
|||||||
public:
|
public:
|
||||||
explicit ObjNameSym() : SymbolRecord(SymbolRecordKind::ObjNameSym) {}
|
explicit ObjNameSym() : SymbolRecord(SymbolRecordKind::ObjNameSym) {}
|
||||||
explicit ObjNameSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit ObjNameSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
ObjNameSym(uint32_t RecordOffset)
|
explicit ObjNameSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::ObjNameSym), RecordOffset(RecordOffset) {
|
: SymbolRecord(SymbolRecordKind::ObjNameSym), RecordOffset(RecordOffset) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -653,7 +653,7 @@ public:
|
|||||||
class EnvBlockSym : public SymbolRecord {
|
class EnvBlockSym : public SymbolRecord {
|
||||||
public:
|
public:
|
||||||
explicit EnvBlockSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit EnvBlockSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
EnvBlockSym(uint32_t RecordOffset)
|
explicit EnvBlockSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::EnvBlockSym),
|
: SymbolRecord(SymbolRecordKind::EnvBlockSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -666,7 +666,7 @@ public:
|
|||||||
class ExportSym : public SymbolRecord {
|
class ExportSym : public SymbolRecord {
|
||||||
public:
|
public:
|
||||||
explicit ExportSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit ExportSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
ExportSym(uint32_t RecordOffset)
|
explicit ExportSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::ExportSym), RecordOffset(RecordOffset) {}
|
: SymbolRecord(SymbolRecordKind::ExportSym), RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
uint16_t Ordinal = 0;
|
uint16_t Ordinal = 0;
|
||||||
@ -680,7 +680,7 @@ public:
|
|||||||
class FileStaticSym : public SymbolRecord {
|
class FileStaticSym : public SymbolRecord {
|
||||||
public:
|
public:
|
||||||
explicit FileStaticSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit FileStaticSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
FileStaticSym(uint32_t RecordOffset)
|
explicit FileStaticSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::FileStaticSym),
|
: SymbolRecord(SymbolRecordKind::FileStaticSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -696,7 +696,7 @@ public:
|
|||||||
class Compile2Sym : public SymbolRecord {
|
class Compile2Sym : public SymbolRecord {
|
||||||
public:
|
public:
|
||||||
explicit Compile2Sym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit Compile2Sym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
Compile2Sym(uint32_t RecordOffset)
|
explicit Compile2Sym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::Compile2Sym),
|
: SymbolRecord(SymbolRecordKind::Compile2Sym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -722,7 +722,7 @@ class Compile3Sym : public SymbolRecord {
|
|||||||
public:
|
public:
|
||||||
Compile3Sym() : SymbolRecord(SymbolRecordKind::Compile3Sym) {}
|
Compile3Sym() : SymbolRecord(SymbolRecordKind::Compile3Sym) {}
|
||||||
explicit Compile3Sym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit Compile3Sym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
Compile3Sym(uint32_t RecordOffset)
|
explicit Compile3Sym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::Compile3Sym),
|
: SymbolRecord(SymbolRecordKind::Compile3Sym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -870,7 +870,7 @@ public:
|
|||||||
class BuildInfoSym : public SymbolRecord {
|
class BuildInfoSym : public SymbolRecord {
|
||||||
public:
|
public:
|
||||||
explicit BuildInfoSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit BuildInfoSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
BuildInfoSym(uint32_t RecordOffset)
|
explicit BuildInfoSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::BuildInfoSym),
|
: SymbolRecord(SymbolRecordKind::BuildInfoSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -914,7 +914,7 @@ public:
|
|||||||
class ConstantSym : public SymbolRecord {
|
class ConstantSym : public SymbolRecord {
|
||||||
public:
|
public:
|
||||||
explicit ConstantSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit ConstantSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
ConstantSym(uint32_t RecordOffset)
|
explicit ConstantSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::ConstantSym),
|
: SymbolRecord(SymbolRecordKind::ConstantSym),
|
||||||
RecordOffset(RecordOffset) {}
|
RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
@ -931,7 +931,7 @@ class DataSym : public SymbolRecord {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DataSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
explicit DataSym(SymbolRecordKind Kind) : SymbolRecord(Kind) {}
|
||||||
DataSym(uint32_t RecordOffset)
|
explicit DataSym(uint32_t RecordOffset)
|
||||||
: SymbolRecord(SymbolRecordKind::DataSym), RecordOffset(RecordOffset) {}
|
: SymbolRecord(SymbolRecordKind::DataSym), RecordOffset(RecordOffset) {}
|
||||||
|
|
||||||
uint32_t getRelocationOffset() const {
|
uint32_t getRelocationOffset() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user