mirror of
https://github.com/intel/llvm.git
synced 2026-02-04 20:00:11 +08:00
[ELF] Set ctx.internalFile for PPC64 _savegpr[01]_{14..31} and _restgpr[01]_{14..31}. NFC
Ensure that every InputFile has a non-null file so that we enforce this in the future.
This commit is contained in:
@@ -286,7 +286,7 @@ static void writeSequence(MutableArrayRef<uint32_t> buf, const char *prefix,
|
||||
// The full section content has the extent of [begin, end). We drop unused
|
||||
// instructions and write [first,end).
|
||||
auto *sec = make<InputSection>(
|
||||
nullptr, SHF_ALLOC, SHT_PROGBITS, 4,
|
||||
ctx.internalFile, SHF_ALLOC, SHT_PROGBITS, 4,
|
||||
ArrayRef(reinterpret_cast<uint8_t *>(buf.data() + first),
|
||||
4 * (buf.size() - first)),
|
||||
".text");
|
||||
|
||||
Reference in New Issue
Block a user