From ebea37bea1531268c2c8e2fd8f09d6d5cc72b30e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 3 Jul 2012 06:01:27 +0000 Subject: [PATCH] MCContext.cpp: Fixup for my odd previous commit. No functional changes. llvm-svn: 159645 --- lib/MC/MCContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp index b535b3e6e94..b5b14b95f66 100644 --- a/lib/MC/MCContext.cpp +++ b/lib/MC/MCContext.cpp @@ -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; } }