[LLVMbugs] [Bug 5380] New: cppcheck on the whole source tree as of 3.10.2009

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Nov 3 03:28:15 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=5380

           Summary: cppcheck on the whole source tree as of 3.10.2009
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Archive library
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gmarkhor at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Here is the cppcheck output ran at the source tree root:

cppcheck -a -q .
[./examples/BrainF/BrainF.h:80]: (all) Memory leak: BrainF::module
[./lib/CodeGen/DwarfEHPrepare.cpp:324]: (all) Memory leak: Store
[./lib/CodeGen/PrologEpilogInserter.h:33]: (error) Invalid number of character
({). Can't process file.
[./lib/CodeGen/StackProtector.cpp:173]: (all) Memory leak: LI
[./lib/Transforms/IPO/LowerSetJmp.cpp:461]: (all) Memory leak: BufPtr
[./lib/Transforms/Instrumentation/RSProfiling.cpp:276]: (all) Memory leak: l
[./lib/Transforms/Utils/InlineFunction.cpp:362]: (all) Memory leak: DestCast
[./lib/Transforms/Utils/InlineFunction.cpp:362]: (all) Memory leak: SrcCast
[./lib/VMCore/TypesContext.h:217]: (error) Class TypeMapBase which is inherited
by class TypeMap does not have a virtual destructor
[./lib/VMCore/TypesContext.h:217]: (error) Class TypeMapBase which is inherited
by class TypeMap<ArrayValType,ArrayType> does not have a virtual destructor
[./lib/VMCore/TypesContext.h:217]: (error) Class TypeMapBase which is inherited
by class TypeMap<VectorValType,VectorType> does not have a virtual destructor
[./lib/VMCore/TypesContext.h:217]: (error) Class TypeMapBase which is inherited
by class TypeMap<PointerValType,PointerType> does not have a virtual destructor
[./lib/VMCore/TypesContext.h:217]: (error) Class TypeMapBase which is inherited
by class TypeMap<FunctionValType,FunctionType> does not have a virtual
destructor
[./lib/VMCore/TypesContext.h:217]: (error) Class TypeMapBase which is inherited
by class TypeMap<StructValType,StructType> does not have a virtual destructor
[./lib/VMCore/TypesContext.h:217]: (error) Class TypeMapBase which is inherited
by class TypeMap<IntegerValType,IntegerType> does not have a virtual destructor
[./lib/VMCore/Type.cpp:534]: (all) Memory leak: Holder
[./tools/gold/gold-plugin.cpp:407]: (all) Memory leak: objFile
[./tools/llc/llc.cpp:154]: (all) Memory leak: FDOut
[./tools/llc/llc.cpp:205]: (all) Memory leak: FDOut
[./tools/llvm-mc/AsmParser.h:49]: (all) Memory leak:
AsmParser::SectionUniquingMap
[./tools/llvm-mc/llvm-mc.cpp:208]: (all) Memory leak: Out
[./tools/opt/opt.cpp:531]: (all) Memory leak: FPasses
[./utils/TableGen/CodeGenDAGPatterns.cpp:133]: (error) Same iterator is used
with both depcounts and DepVars
[./utils/TableGen/CodeGenDAGPatterns.cpp:2084]: (all) Memory leak: Pattern
[./utils/TableGen/TGParser.cpp:1108]: (all) Memory leak: Result
[./utils/TableGen/TableGen.cpp:179]: (all) Memory leak: Out

Hope it will help to improve llvm. source was taken from svn on 3.10.2009


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list