Index: src/IceELFSection.h |
diff --git a/src/IceELFSection.h b/src/IceELFSection.h |
index 0ee3f03c99eb72c3a99b78cbb1cbb5f589ac90a7..5cf89a5287795572b0123557039def15aee9fa5a 100644 |
--- a/src/IceELFSection.h |
+++ b/src/IceELFSection.h |
@@ -362,6 +362,8 @@ void ELFRelocationSection::writeData(const GlobalContext &Ctx, ELFStreamer &Str, |
llvm::report_fatal_error("Missing symbol mentioned in reloc"); |
if (IsELF64) { |
+ llvm_unreachable( |
+ "Not tested -- check that Fixup.offset() is correct even for pc-rel"); |
Elf64_Rela Rela; |
Rela.r_offset = Fixup.position(); |
Rela.setSymbolAndType(Symbol->getNumber(), Fixup.kind()); |