Lines Matching refs:Mapping
651 for (StringRef Mapping : SpecificSectionMappings) {
652 size_t EqualsIdx = Mapping.find_first_of('=');
653 std::string SectionIDStr = std::string(Mapping.substr(0, EqualsIdx));
654 size_t ComaIdx = Mapping.find_first_of(',');
657 report_fatal_error("Invalid section specification '" + Mapping +
666 std::string NewAddrStr = std::string(Mapping.substr(EqualsIdx + 1));
670 report_fatal_error("Invalid section address in mapping '" + Mapping +
758 for (const auto &Mapping : DummySymbolMappings) {
759 size_t EqualsIdx = Mapping.find_first_of('=');
763 Mapping + "'. Should be '<symbol name>=<addr>'");
765 std::string Symbol = Mapping.substr(0, EqualsIdx);
766 std::string AddrStr = Mapping.substr(EqualsIdx + 1);
770 report_fatal_error(Twine("Invalid symbol mapping '") + Mapping + "'.");