[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


           Summary: Leaks in TableGen/CStyleComment.td, Include.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)
==31210==    by 0x555EC3: llvm::StringInit::get(std::string const&)
==31210==    by 0x4B97C1: llvm::Record::Record(std::string const&, llvm::SMLoc,
llvm::RecordKeeper&) (in
==31210==    by 0x592FFC: llvm::TGParser::ParseDef(llvm::MultiClass*)
==31210==    by 0x595904: llvm::TGParser::ParseObject(llvm::MultiClass*)

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