[LLVMbugs] [Bug 10773] New: Leaks in TableGen/CStyleComment.td, Include.td, nested-comment.td

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 26 09:04:15 PDT 2011


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

           Summary: Leaks in TableGen/CStyleComment.td, Include.td,
                    nested-comment.td
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: TableGen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: atrick at apple.com
                CC: llvmbugs at cs.uiuc.edu


The valgrind builder, llvm-x86_64-linux-vg_leak, reports tablegen leaks in the
following test cases:
TableGen/CStyleComment.td, Include.td, and nested-comment.td

==31210== 50 (24 direct, 26 indirect) bytes in 1 blocks are definitely lost in
loss record 3 of 3
==31210==    at 0x4C26DFA: operator new(unsigned long)
(vg_replace_malloc.c:261)
==31210==    by 0x555EC3: llvm::StringInit::get(std::string const&)
(Record.cpp:573)
==31210==    by 0x4B97C1: llvm::Record::Record(std::string const&, llvm::SMLoc,
llvm::RecordKeeper&) (in
/build/buildbot-llvm/llvm-x86_64-linux-vg_leak/llvm/Debug+Asserts/bin/tblgen)
==31210==    by 0x592FFC: llvm::TGParser::ParseDef(llvm::MultiClass*)
(TGParser.cpp:1667)
==31210==    by 0x595904: llvm::TGParser::ParseObject(llvm::MultiClass*)
(TGParser.cpp:2132)

The builder has been failing for as long as I can tell (May?). I'm not sure
when this first appeared.

-- 
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