diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-06 23:11:08 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-06 23:11:08 +0000 |
commit | c4744b9e2227b475381ec221dce7d557376ba4a2 (patch) | |
tree | ccbef9f76010d545630281f0a37195155352043e /llvm/lib | |
parent | 38264b155441a07cfa7bab19829d34a83f080c7b (diff) | |
download | bcm5719-llvm-c4744b9e2227b475381ec221dce7d557376ba4a2.tar.gz bcm5719-llvm-c4744b9e2227b475381ec221dce7d557376ba4a2.zip |
Add FIXMEs.
llvm-svn: 74879
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/PIC16/PIC16DebugInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp index 430058805dd..af627a3b724 100644 --- a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp +++ b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp @@ -200,6 +200,7 @@ short PIC16DbgInfo::getStorageClass(DIGlobalVariable DIGV) { /// required initializations. void PIC16DbgInfo::BeginModule(Module &M) { // Emit file directive for module. + // FIXME : What if more then one CUs are present in a module ? GlobalVariable *CU = M.getNamedGlobal("llvm.dbg.compile_unit"); if (CU) { EmitDebugDirectives = true; @@ -321,6 +322,7 @@ void PIC16DbgInfo::EmitCompositeTypeDecls(Module &M) { E = M.getGlobalList().end(); I != E; I++) { // Structures and union declaration's debug info has llvm.dbg.composite // in its name. + // FIXME: Checking and relying on llvm.dbg.composite name is not a good idea. if(I->getName().find("llvm.dbg.composite") != std::string::npos) { GlobalVariable *GV = cast<GlobalVariable >(I); DICompositeType CTy(GV); @@ -425,6 +427,7 @@ void PIC16DbgInfo::EmitSymbol(std::string Name, short Class, unsigned short /// EmitVarDebugInfo - Emit debug information for all variables. /// void PIC16DbgInfo::EmitVarDebugInfo(Module &M) { + // FIXME : This anchor has been removed. GlobalVariable *Root = M.getGlobalVariable("llvm.dbg.global_variables"); if (!Root) return; |