summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/integer-overflow.c
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-03-02 01:36:45 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-03-02 01:36:45 +0000
commit43766d6f1274decc804b3f3a32e1bb2b127d2f7a (patch)
treea452b4f7fcc76b06979511c293a073f938711ddd /clang/test/CodeGen/integer-overflow.c
parent7290868a1ba52b5b82b4c30807301b63b2b14cf1 (diff)
downloadbcm5719-llvm-43766d6f1274decc804b3f3a32e1bb2b127d2f7a.tar.gz
bcm5719-llvm-43766d6f1274decc804b3f3a32e1bb2b127d2f7a.zip
Add two utility functions to lldbutil.py:
o int_to_bytearray() o bytearray_to_int() They return/interpret the bytearray in the little endian format. For big endian, simply perform ba.reverse() on the bytearray object. And modify TestProcessAPI.py to take advantage of the functions. llvm-svn: 126813
Diffstat (limited to 'clang/test/CodeGen/integer-overflow.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud