Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: src/common/dwarf/bytereader.cc

Issue 1884283002: Add debug fission support. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Add debug fission support. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/common/dwarf/bytereader.h ('k') | src/common/dwarf/dwarf2enums.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 Google Inc. All Rights Reserved. 1 // Copyright (c) 2010 Google Inc. All Rights Reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer. 8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer 10 // copyright notice, this list of conditions and the following disclaimer
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 // Remove inappropriate upper bits. 237 // Remove inappropriate upper bits.
238 if (AddressSize() == 4) 238 if (AddressSize() == 4)
239 pointer = pointer & 0xffffffff; 239 pointer = pointer & 0xffffffff;
240 else 240 else
241 assert(AddressSize() == sizeof(uint64)); 241 assert(AddressSize() == sizeof(uint64));
242 242
243 return pointer; 243 return pointer;
244 } 244 }
245 245
246 Endianness ByteReader::GetEndianness() const {
247 return endian_;
248 }
249
246 } // namespace dwarf2reader 250 } // namespace dwarf2reader
OLDNEW
« no previous file with comments | « src/common/dwarf/bytereader.h ('k') | src/common/dwarf/dwarf2enums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698