Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16)

Unified Diff: src/common/dwarf/dwarf2reader_cfi_unittest.cc

Issue 535002: Use stdint types everywhere. (Closed)
Patch Set: Renamed uint128_t to uint128_struct Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/common/dwarf/dwarf2reader_cfi_unittest.cc
===================================================================
--- a/src/common/dwarf/dwarf2reader_cfi_unittest.cc
+++ b/src/common/dwarf/dwarf2reader_cfi_unittest.cc
@@ -2321,24 +2321,24 @@ TEST_F(CFIReporter, ClearingCFARule) {
using google_breakpad::test_assembler::Section;
struct ELFSectionHeader {
ELFSectionHeader(unsigned int set_type)
: type(set_type), flags(0), address(0), link(0), info(0),
alignment(1), entry_size(0) { }
Label name;
unsigned int type;
- u_int64_t flags;
- u_int64_t address;
+ uint64_t flags;
+ uint64_t address;
Label file_offset;
Label file_size;
unsigned int link;
unsigned int info;
- u_int64_t alignment;
- u_int64_t entry_size;
+ uint64_t alignment;
+ uint64_t entry_size;
};
void AppendSectionHeader(CFISection *table, const ELFSectionHeader &header) {
(*table)
.D32(header.name) // name, index in string tbl
.D32(header.type) // type
.Address(header.flags) // flags
.Address(header.address) // address in memory

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted