summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-07-22 23:48:01 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-07-22 23:48:01 +0000
commitb2a9cf77644b2345ad662dbf93579d4577d36104 (patch)
tree79980cd5c3ac0d20964467f7f337056e4d9c2fce /lldb/source/Plugins/Process/Utility
parenta61c247ce189efe7641dccb8ad7f85f60fc72220 (diff)
downloadbcm5719-llvm-b2a9cf77644b2345ad662dbf93579d4577d36104.tar.gz
bcm5719-llvm-b2a9cf77644b2345ad662dbf93579d4577d36104.zip
[Logging] Replace LogIfAnyCategoriesSet with LLDB_LOG.
This patch removes any remaining instances of LogIfAnyCategoriesSet and replaces them with the LLDB_LOG macro. This in turn made it possible to make Log::VAPrintf and Log::VAError private. llvm-svn: 366768
Diffstat (limited to 'lldb/source/Plugins/Process/Utility')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
index 62e512adc9f..47758ce85eb 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
@@ -554,22 +554,6 @@ int RegisterContextDarwin_x86_64::GetSetForNativeRegNum(int reg_num) {
return -1;
}
-void RegisterContextDarwin_x86_64::LogGPR(Log *log, const char *format, ...) {
- if (log) {
- if (format) {
- va_list args;
- va_start(args, format);
- log->VAPrintf(format, args);
- va_end(args);
- }
- for (uint32_t i = 0; i < k_num_gpr_registers; i++) {
- uint32_t reg = gpr_rax + i;
- log->Printf("%12s = 0x%16.16" PRIx64, g_register_infos[reg].name,
- (&gpr.rax)[reg]);
- }
- }
-}
-
int RegisterContextDarwin_x86_64::ReadGPR(bool force) {
int set = GPRRegSet;
if (force || !RegisterSetIsCached(set)) {
OpenPOWER on IntegriCloud