1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-22 10:27:48 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-11-07 10:01:24 +09:00
parent d737326134
commit 52feed8f81

6
mold.h
View File

@ -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;
};