forked from OSchip/llvm-project
MCContext.cpp: Fixup for my odd previous commit. No functional changes.
llvm-svn: 159645
This commit is contained in:
parent
676dcd8c39
commit
09e3510eb1
|
@ -278,7 +278,7 @@ unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName,
|
||||||
if (!tFileName.empty()) {
|
if (!tFileName.empty()) {
|
||||||
Directory = sys::path::parent_path(FileName);
|
Directory = sys::path::parent_path(FileName);
|
||||||
if (!Directory.empty())
|
if (!Directory.empty())
|
||||||
FileName = sys::path::filename(FileName);
|
FileName = tFileName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue