mirror of
https://github.com/rui314/mold.git
synced 2024-09-22 10:27:48 +03:00
temporary
This commit is contained in:
parent
d737326134
commit
52feed8f81
6
mold.h
6
mold.h
@ -430,8 +430,12 @@ public:
|
||||
struct StringPiece {
|
||||
StringPiece(StringRef data) : data(data) {}
|
||||
|
||||
StringPiece(const StringPiece &other)
|
||||
: data(other.data), file(other.file.load()),
|
||||
chunk(other.chunk), offset(other.offset) {}
|
||||
|
||||
StringRef data;
|
||||
ObjectFile *file;
|
||||
std::atomic<ObjectFile *> file;
|
||||
OutputChunk *chunk;
|
||||
u32 offset;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user