[llvm] [llvm-readobj][COFF] Implement --coff-pseudoreloc in llvm-readobj to dump runtime pseudo-relocation records (PR #151816)
Tomohiro Kashiwada via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 6 05:12:34 PDT 2025
================
@@ -2000,6 +2001,217 @@ void COFFDumper::printCOFFBaseReloc() {
}
}
+void COFFDumper::printCOFFPseudoReloc() {
+ if (!Obj->getDOSHeader()) {
+ W.startLine()
+ << "pseudo-relocation is only meaningful for a PE image file\n";
----------------
kikairoya wrote:
I have a question - such this message should be a warning or a just printing?
https://github.com/llvm/llvm-project/pull/151816
More information about the llvm-commits
mailing list