[llvm] 0ecea5b - [gdb-scripts] Fix PointerIntPairPrinter.to_string after D127969
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 24 00:36:33 PDT 2022
Author: Fangrui Song
Date: 2022-06-24T00:36:26-07:00
New Revision: 0ecea5b2d34b3a0cf1e4e77ce7d33e1fb5d75028
URL: https://github.com/llvm/llvm-project/commit/0ecea5b2d34b3a0cf1e4e77ce7d33e1fb5d75028
DIFF: https://github.com/llvm/llvm-project/commit/0ecea5b2d34b3a0cf1e4e77ce7d33e1fb5d75028.diff
LOG: [gdb-scripts] Fix PointerIntPairPrinter.to_string after D127969
Added:
Modified:
llvm/utils/gdb-scripts/prettyprinters.py
Removed:
################################################################################
diff --git a/llvm/utils/gdb-scripts/prettyprinters.py b/llvm/utils/gdb-scripts/prettyprinters.py
index b9bf0ef4a795e..f778d98b4a96a 100644
--- a/llvm/utils/gdb-scripts/prettyprinters.py
+++ b/llvm/utils/gdb-scripts/prettyprinters.py
@@ -387,7 +387,7 @@ def children(self):
yield ('value', self.value)
def to_string(self):
- return '(%s, %s)' % self.pointer.type, self.value.type
+ return '(%s, %s)' % (self.pointer.type, self.value.type)
def make_pointer_int_pair_printer(val):
"""Factory for an llvm::PointerIntPair printer."""
More information about the llvm-commits
mailing list