Skip to content

llc reads freed memory when run on 2006-11-30-NoCompileUnit.cpp #2056

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 1684
Resolution FIXED
Resolved on Sep 23, 2007 02:35
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

Running test/C++Frontend/2006-11-30-NoCompileUnit.cpp under valgrind
shows it reading freed memory in llvm::DIEBlock::BestForm.

To reproduce, run
llvm-gcc -S -O0 -emit-llvm -g 2006-11-30-NoCompileUnit.cpp -o - | llvm-as | valgrind --tool=memcheck llc --disable-fp-elim -f -o NoCompileUnit.s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions