MCContext.cpp: Fixup for my odd previous commit. No functional changes.

llvm-svn: 159645
This commit is contained in:
NAKAMURA Takumi 2012-07-03 06:01:27 +00:00
parent 676dcd8c39
commit 09e3510eb1
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName,
if (!tFileName.empty()) {
Directory = sys::path::parent_path(FileName);
if (!Directory.empty())
FileName = sys::path::filename(FileName);
FileName = tFileName;
}
}