[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
Thu Aug 21 04:16:53 PDT 2025
================
@@ -2002,11 +2002,12 @@ void COFFDumper::printCOFFBaseReloc() {
}
void COFFDumper::printCOFFPseudoReloc() {
- if (!Obj->getDOSHeader()) {
- W.startLine()
- << "pseudo-relocation is only meaningful for a PE image file\n";
+ ListScope D(W, "PseudoReloc");
+ W.flush();
----------------
kikairoya wrote:
It's an artifact during modifying the tests. Removed.
https://github.com/llvm/llvm-project/pull/151816
More information about the llvm-commits
mailing list