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