We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f35e72 commit 52a4d81Copy full SHA for 52a4d81
bolt/include/bolt/Rewrite/RewriteInstance.h
@@ -368,13 +368,6 @@ class RewriteInstance {
368
/// rewritten binary.
369
void patchBuildID();
370
371
- /// Return file offset corresponding to a given virtual address.
372
- uint64_t getFileOffsetFor(uint64_t Address) {
373
- assert(Address >= NewTextSegmentAddress &&
374
- "address in not in the new text segment");
375
- return Address - NewTextSegmentAddress + NewTextSegmentOffset;
376
- }
377
-
378
/// Return file offset corresponding to a virtual \p Address.
379
/// Return 0 if the address has no mapping in the file, including being
380
/// part of .bss section.
0 commit comments