Symbolization of position independent code was added in D146181. Update
the comment to note that the checks below are to sanity check the
assumptions we make to simplify symbolization.
Differential Revision: https://reviews.llvm.org/D149370
}
// 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();