This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gold ChangeLog dwarf_reade ...

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2011-03-10 01:31:33

Modified files:
	gold           : ChangeLog dwarf_reader.h 
	gold/testsuite : 
Added files:
	gold/testsuite : odr_header1.h odr_header2.h 

Log message:
	* (Sized_dwarf_line_info): Include all lines,
	but mark earlier ones as non-canonical
	(offset_to_iterator): Update search target and example
	(do_addr2line): Return extra lines in a vector*
	(format_file_lineno): Extract from do_addr2line
	(one_addr2line): Add vector* out-param
	* dwarf_reader.h (Offset_to_lineno_entry): New field recording
	when a lineno entry appeared last for its instruction
	(Dwarf_line_info): Add vector* out-param
	* (Relocate_info): Pass NULL for the vector* out-param
	* (Odr_violation_compare): Include the lineno in the
	comparison again.
	(linenos_from_loc): New. Combine the canonical line for an
	address with its other lines.
	(True_if_intersect): New. Helper functor to make
	std::set_intersection a query.
	(detect_odr_violations): Compare sets of lines instead of just
	one line for each function. This became less deterministic, but
	has fewer false positives.
	* symtab.h: Declarations.
	* testsuite/ (odr_violation2.o): Compile with -O2 to
	mix an optimized and non-optimized object in the same binary
	( Same.
	* testsuite/ Regenerate from
	* testsuite/ (main): Make OdrDerived classes.
	* testsuite/ Update line numbers and add
	* testsuite/ Use OdrDerived, in a
	non-optimized context.
	* testsuite/ Make sure Ordering::operator()
	isn't inlined, and use OdrDerived in an optimized context.
	* testsuite/odr_header1.h: Defines OdrDerived, where
	optimization will change the
	first-instruction-in-the-destructor's file and line number.
	* testsuite/odr_header2.h: Defines OdrBase.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]