diff options
| author | Enrico Granata <egranata@apple.com> | 2016-02-10 02:12:42 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2016-02-10 02:12:42 +0000 |
| commit | 14086ed75d165b827b20de0101324bd8467d93c4 (patch) | |
| tree | 0d111f6e46db8114e2e212db26b93d05ef6b0777 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
| parent | 4abe94fb6b215d5342816f189fa18988e829441a (diff) | |
| download | llvm-14086ed75d165b827b20de0101324bd8467d93c4.zip llvm-14086ed75d165b827b20de0101324bd8467d93c4.tar.gz llvm-14086ed75d165b827b20de0101324bd8467d93c4.tar.bz2 | |
Change lldb.value.__int__() so that it takes into account the signedness of the value being cast to return a Python number with the proper value
The explicit APIs on SBValue obviously remain if one wants to be explicit in intent, or override this guess, but since __int__() has to pick one, an educated guess is definitely better than than always going to signed regardless
Fixes rdar://24556976
llvm-svn: 260349
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions
