forked from OSchip/llvm-project
Follow-up to r254049; remove function I missed in the revert.
llvm-svn: 254052
This commit is contained in:
parent
9f68d876a0
commit
17436ce174
|
@ -290,15 +290,6 @@ void LinkerScript::readOutputSectionDescription() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool isUnderSysroot(StringRef Path) {
|
|
||||||
if (Config->Sysroot == "")
|
|
||||||
return false;
|
|
||||||
for (; !Path.empty(); Path = sys::path::parent_path(Path))
|
|
||||||
if (sys::fs::equivalent(Config->Sysroot, Path))
|
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Entry point. The other functions or classes are private to this file.
|
// Entry point. The other functions or classes are private to this file.
|
||||||
void lld::elf2::readLinkerScript(BumpPtrAllocator *A, MemoryBufferRef MB) {
|
void lld::elf2::readLinkerScript(BumpPtrAllocator *A, MemoryBufferRef MB) {
|
||||||
LinkerScript(A, MB.getBuffer()).run();
|
LinkerScript(A, MB.getBuffer()).run();
|
||||||
|
|
Loading…
Reference in New Issue