https://bugs.llvm.org/show_bug.cgi?id=50620
Bug ID: 50620
Summary: llvm-exegsis - X86LbrCounter destructor double closes
a file descriptor
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-exegesis
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
class X86LbrCounter : public pfm::Counter;
X86LbrCounter::~X86LbrCounter() { close(FileDescriptor); }
Counter::~Counter() { close(FileDescriptor); }
The same FileDescriptor is closed both in ~X86LbrCounter() and then in the
~Counter() parent destructor.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs