forked from OSchip/llvm-project
parent
8878f87fb6
commit
07a2437a91
|
@ -1485,10 +1485,10 @@ DataExtractor::PutToLog
|
|||
return start_offset;
|
||||
|
||||
uint32_t offset;
|
||||
uint32_t end_offset = offset + length;
|
||||
uint32_t end_offset;
|
||||
uint32_t count;
|
||||
StreamString sstr;
|
||||
for (offset = start_offset, count = 0; ValidOffset(offset) && offset < end_offset; ++count)
|
||||
for (offset = start_offset, end_offset = offset + length, count = 0; ValidOffset(offset) && offset < end_offset; ++count)
|
||||
{
|
||||
if ((count % num_per_line) == 0)
|
||||
{
|
||||
|
|
|
@ -81,8 +81,8 @@ StateVariable::StateVariable
|
|||
) :
|
||||
m_name (name),
|
||||
m_type (eTypeStringArray),
|
||||
m_help_text (help),
|
||||
m_string_values(),
|
||||
m_help_text (help),
|
||||
m_verification_func_ptr (func_ptr)
|
||||
{
|
||||
if (args)
|
||||
|
|
|
@ -89,7 +89,7 @@ public:
|
|||
static void PrintRange(const DWARFDebugAranges::Range& range)
|
||||
{
|
||||
// Cast the address values in case the address type is compiled as 32 bit
|
||||
printf("0x%8.8x: [0x%8.8llx - 0x%8.8llx)\n", range.offset, (uint64_t)range.lo_pc, (uint64_t)range.hi_pc);
|
||||
printf("0x%8.8x: [0x%8.8llx - 0x%8.8llx)\n", range.offset, (long long)range.lo_pc, (long long)range.hi_pc);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue