forked from OSchip/llvm-project
32dc724920
PR15138 was opened because of a segfault in the Bitcode writer. The actual issue ended up being a bug in APInt where calls to APInt::getActiveWords returns a bogus value when the APInt value is 0. This patch fixes the problem by ensuring that getActiveWords returns 1 for 0 valued APInts. llvm-svn: 174641 |
||
---|---|---|
.. | ||
llvm | ||
llvm-c |