Home
last modified time | relevance | path

Searched refs:newDirPath (Results 1 – 1 of 1) sorted by relevance

/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileFromAtoms.cpp863 StringRef newDirPath = tu.path; in synthesizeDebugNotes() local
866 if (newFileName != oldFileName || newDirPath != oldDirPath) { in synthesizeDebugNotes()
872 oldDirPath = newDirPath; in synthesizeDebugNotes()
875 if (newDirPath.back() != '/') { in synthesizeDebugNotes()
877 file.ownedAllocations.Allocate<char>(newDirPath.size() + 2); in synthesizeDebugNotes()
878 memcpy(p, newDirPath.data(), newDirPath.size()); in synthesizeDebugNotes()
879 p[newDirPath.size()] = '/'; in synthesizeDebugNotes()
880 p[newDirPath.size() + 1] = '\0'; in synthesizeDebugNotes()
881 newDirPath = p; in synthesizeDebugNotes()
885 _stabs.push_back(mach_o::Stab(nullptr, N_SO, 0, 0, 0, newDirPath)); in synthesizeDebugNotes()