forked from OSchip/llvm-project
[lldb] Fix compile warnings in r332702
Summary: - Fix #include path - Fix warning: ```` error: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] ``` Reviewers: labath, javed.absar Differential Revision: https://reviews.llvm.org/D47072 llvm-svn: 332733
This commit is contained in:
parent
db53a52ff2
commit
ff9c4ff117
|
@ -29,7 +29,7 @@
|
|||
#endif
|
||||
|
||||
// Project includes
|
||||
#include "ARM_DWARF_Registers.h"
|
||||
#include "Utility/ARM_DWARF_Registers.h"
|
||||
#include "Utility/ARM_ehframe_Registers.h"
|
||||
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#endif
|
||||
|
||||
// Project includes
|
||||
#include "ARM64_DWARF_Registers.h"
|
||||
#include "Utility/ARM64_DWARF_Registers.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
@ -293,8 +293,9 @@ int RegisterContextDarwin_arm64::WriteRegisterSet(uint32_t set) {
|
|||
void RegisterContextDarwin_arm64::LogDBGRegisters(Log *log, const DBG &dbg) {
|
||||
if (log) {
|
||||
for (uint32_t i = 0; i < 16; i++)
|
||||
log->Printf("BVR%-2u/BCR%-2u = { 0x%8.8llx, 0x%8.8llx } WVR%-2u/WCR%-2u "
|
||||
"= { 0x%8.8llx, 0x%8.8llx }",
|
||||
log->Printf("BVR%-2u/BCR%-2u = { 0x%8.8" PRIu64 ", 0x%8.8" PRIu64
|
||||
" } WVR%-2u/WCR%-2u "
|
||||
"= { 0x%8.8" PRIu64 ", 0x%8.8" PRIu64 " }",
|
||||
i, i, dbg.bvr[i], dbg.bcr[i], i, i, dbg.wvr[i], dbg.wcr[i]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue