diff options
| author | Serge Pavlov <sepavloff@gmail.com> | 2013-09-14 12:00:01 +0000 |
|---|---|---|
| committer | Serge Pavlov <sepavloff@gmail.com> | 2013-09-14 12:00:01 +0000 |
| commit | d5489074e69ce6f66b4f714491f5a2c70fdce422 (patch) | |
| tree | 4d1e2f15b2325a99d53132fc27f87449e67b2215 /llvm/lib/Bitcode/Reader/BitcodeReader.h | |
| parent | 042f10ce410b8da1e464458a8f2cad27615b8358 (diff) | |
| download | llvm-d5489074e69ce6f66b4f714491f5a2c70fdce422.zip llvm-d5489074e69ce6f66b4f714491f5a2c70fdce422.tar.gz llvm-d5489074e69ce6f66b4f714491f5a2c70fdce422.tar.bz2 | |
Avoid getting an argument of allocation function if it does not exist.
This is a fix to PR12778: in erroneous code an allocation function
can be declared with no arguments, quering the first argument in this case
causes assertion violation.
llvm-svn: 190751
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
