mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +00:00
MCContext.cpp: Fixup for my odd previous commit. No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159645 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a101014026
commit
a6f14537ca
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user