Follow-up to r254049; remove function I missed in the revert.

llvm-svn: 254052
This commit is contained in:
Hans Wennborg 2015-11-25 01:24:15 +00:00
parent 9f68d876a0
commit 17436ce174
1 changed files with 0 additions and 9 deletions

View File

@ -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.
void lld::elf2::readLinkerScript(BumpPtrAllocator *A, MemoryBufferRef MB) {
LinkerScript(A, MB.getBuffer()).run();