[llvm] Add Offoading to llvm-readobj and llvm-objcopy (PR #141978)
David Salinas via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 10:58:50 PDT 2025
================
@@ -210,6 +210,27 @@ static Error dumpSectionToFile(StringRef SecName, StringRef Filename,
"section '%s' not found", SecName.str().c_str());
}
+static Error dumpRawDataURIToFile(StringRef Filename, int64_t Offset,
+ int64_t Size, ObjectFile &Obj) {
+ StringRef OutputFileName(Obj.getFileName().str() + "-offset" +
+ itostr(Offset) + "-size" + itostr(Size) + ".co");
----------------
david-salinas wrote:
Ok
https://github.com/llvm/llvm-project/pull/141978
More information about the llvm-commits
mailing list