[PATCH] D149370: [memprof][NFC] Update a stale comment about symbolization.
Snehasish Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 11:59:46 PDT 2023
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1176d97598a9: [memprof][NFC] Update a stale comment about symbolization. (authored by snehasish).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149370/new/
https://reviews.llvm.org/D149370
Files:
llvm/lib/ProfileData/RawMemProfReader.cpp
Index: llvm/lib/ProfileData/RawMemProfReader.cpp
===================================================================
--- llvm/lib/ProfileData/RawMemProfReader.cpp
+++ llvm/lib/ProfileData/RawMemProfReader.cpp
@@ -282,8 +282,8 @@
}
// Check whether the profiled binary was built with position independent code
- // (PIC). For now we provide a error message until symbolization support
- // is added for pic.
+ // (PIC). Perform sanity checks for assumptions we rely on to simplify
+ // symbolization.
auto* Elf64LEObject = llvm::cast<llvm::object::ELF64LEObjectFile>(ElfObject);
const llvm::object::ELF64LEFile& ElfFile = Elf64LEObject->getELFFile();
auto PHdrsOr = ElfFile.program_headers();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149370.517669.patch
Type: text/x-patch
Size: 713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230427/1cc3d561/attachment.bin>
More information about the llvm-commits
mailing list