mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +03:00
clang-format
This commit is contained in:
parent
c6ec90e8ef
commit
938ac0e4bf
5 changed files with 45 additions and 57 deletions
|
@ -200,8 +200,7 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
void processRelocations(SymTable &symTable,
|
||||
uint64_t offset,
|
||||
void processRelocations(SymTable &symTable, uint64_t offset,
|
||||
const llvm::object::ObjectFile &object,
|
||||
const llvm::object::SectionRef &sec) {
|
||||
for (const auto &reloc : sec.relocations()) {
|
||||
|
@ -336,8 +335,7 @@ void disassemble(const llvm::TargetMachine &tm,
|
|||
}
|
||||
}
|
||||
llvm::ArrayRef<uint8_t> buff(
|
||||
reinterpret_cast<const uint8_t *>(data.data() + offset),
|
||||
size);
|
||||
reinterpret_cast<const uint8_t *>(data.data() + offset), size);
|
||||
|
||||
printFunction(*disasm, *mcia, buff, symTable, *sti, *asmStreamer);
|
||||
asmStreamer->EmitRawText("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue