mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[gdb] Use Latin-1 to decode StringRef
llvm-svn: 335387
This commit is contained in:
parent
953911a150
commit
c7c7f4565b
@ -20,7 +20,7 @@ class StringRefPrinter:
|
||||
self.val = val
|
||||
|
||||
def to_string(self):
|
||||
return self.val['Data'].string(length = self.val['Length'])
|
||||
return self.val['Data'].string(encoding='Latin-1', length=self.val['Length'])
|
||||
|
||||
def display_hint (self):
|
||||
return 'string'
|
||||
|
Loading…
Reference in New Issue
Block a user