[llvm] r203823 - Remove stale comment
David Blaikie
dblaikie at gmail.com
Thu Mar 13 10:58:09 PDT 2014
Author: dblaikie
Date: Thu Mar 13 12:58:09 2014
New Revision: 203823
URL: http://llvm.org/viewvc/llvm-project?rev=203823&view=rev
Log:
Remove stale comment
Modified:
llvm/trunk/lib/MC/MCContext.cpp
Modified: llvm/trunk/lib/MC/MCContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCContext.cpp?rev=203823&r1=203822&r2=203823&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCContext.cpp (original)
+++ llvm/trunk/lib/MC/MCContext.cpp Thu Mar 13 12:58:09 2014
@@ -330,10 +330,6 @@ const MCSectionCOFF *MCContext::getCOFFS
/// allocated file number is returned. The file numbers may be in any order.
unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName,
unsigned FileNumber, unsigned CUID) {
- // TODO: a FileNumber of zero says to use the next available file number.
- // Note: in GenericAsmParser::ParseDirectiveFile() FileNumber was checked
- // to not be less than one. This needs to be change to be not less than zero.
-
MCDwarfFileTable &Table = MCDwarfFileTablesCUMap[CUID];
SmallVectorImpl<MCDwarfFile *>& MCDwarfFiles = Table.getMCDwarfFiles();
SmallVectorImpl<StringRef>& MCDwarfDirs = Table.getMCDwarfDirs();
More information about the llvm-commits
mailing list