1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

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 6fcb4454a0
commit ebea37bea1

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;
}
}