This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Display initialization order of static C++ objects in a library or program?
- From: Jeffrey Walton <noloader at gmail dot com>
- To: binutils at sourceware dot org
- Date: Sat, 9 Jan 2016 16:27:11 -0500
- Subject: Display initialization order of static C++ objects in a library or program?
- Authentication-results: sourceware.org; auth=none
- Reply-to: noloader at gmail dot com
I'm trying to track down the cause of a Valgrind finding for an
uninitialized read. I'm fairly certain it has to do with C++ static
initialization order fiasco.
How do I display initialization order of static C++ objects in a
library or program?
My apologies for a basic question. I'm having a difficult time finding
this information.
Thanks in advance.