2009-12-08 Doug Kwan <dougkwan@google.com>

* Makefile.am (CCFILES): Add attributes.cc and int_encoding.cc.
	(HFILES): Add attributes.h and int_encoding.h.
	* Makefile.in: Regenerate.
	* dwarf_reader.cc (read_unsigned_LEB_128, read_signed_LEB_128): Move
	function definitions to int_encoding.cc
	* dwarf_reader.h (read_unsigned_LEB_128, read_signed_LEB_128): Move
	prototypes to int_encoding.h
	* reduced_debug_output.cc (int_encoding.h): New include.
	(write_unsigned_LEB_128, get_length_as_unsigned_LEB_128): Move
	function definitions to int_encoding.cc
	(insert_into_vector, read_from_pointer): Move template definitions to
	int_encoding.h
	* attributes.cc: New file.
	* attributes.h: New file.
	* int_encoding.cc: New file.
	* int_encoding.h: New file.
This commit is contained in:
Doug Kwan
2009-12-09 03:02:28 +00:00
parent 829da89821
commit 4f7872716e
10 changed files with 1149 additions and 143 deletions

View File

@@ -38,12 +38,6 @@ template<int size, bool big_endian>
class Track_relocs;
struct LineStateMachine;
uint64_t
read_unsigned_LEB_128(const unsigned char* buffer, size_t* len);
int64_t
read_signed_LEB_128(const unsigned char* buffer, size_t* len);
// We can't do better than to keep the offsets in a sorted vector.
// Here, offset is the key, and file_num/line_num is the value.
struct Offset_to_lineno_entry