projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27afb36
)
[gdb-scripts] Fix PointerIntPairPrinter.to_string after D127969
author
Fangrui Song
<i@maskray.me>
Fri, 24 Jun 2022 07:36:26 +0000
(
00:36
-0700)
committer
Fangrui Song
<i@maskray.me>
Fri, 24 Jun 2022 07:36:26 +0000
(
00:36
-0700)
llvm/utils/gdb-scripts/prettyprinters.py
patch
|
blob
|
history
diff --git
a/llvm/utils/gdb-scripts/prettyprinters.py
b/llvm/utils/gdb-scripts/prettyprinters.py
index
b9bf0ef
..
f778d98
100644
(file)
--- a/
llvm/utils/gdb-scripts/prettyprinters.py
+++ b/
llvm/utils/gdb-scripts/prettyprinters.py
@@
-387,7
+387,7
@@
class PointerIntPairPrinter:
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."""