diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-08-04 13:34:50 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-08-04 13:34:50 +0000 |
commit | c9ba1bd20a7d861feb3a3dd7bbe277c6646ebf47 (patch) | |
tree | 8caa69058276dfca70c69fb90c2489b43609e2b4 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 381b73c96b6b80ef6f0455a1926bd0680f4b2be0 (diff) | |
download | llvm-c9ba1bd20a7d861feb3a3dd7bbe277c6646ebf47.zip llvm-c9ba1bd20a7d861feb3a3dd7bbe277c6646ebf47.tar.gz llvm-c9ba1bd20a7d861feb3a3dd7bbe277c6646ebf47.tar.bz2 |
[AST] Really allocate a SmallVector to the right size.
set_size only resets the end pointer and asserts if it is used to grow
the buffer. This would crash when mangling a float with more than 80 bits,
add a test with a ppc double double (128 bits).
Found by inspection.
llvm-svn: 243979
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions