commit | cabec03f5d1aa3bb7b5c99867c5e75f38452afab | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sun Apr 26 00:34:20 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sun Apr 26 00:34:20 2009 +0000 |
tree | 43ceae32831b8a43172a0d24bec71174ed4ac6ff | |
parent | 2eafc1b56347f772729e082e6bac824b0ef1b585 [diff] |
When calling the cleanup function specified by __attribute__((cleanup)), make sure to bitcast the argument so it has the same type as the first argument of the cleanup function. Fixes <rdar://problem/6827047>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70098 91177308-0d34-0410-b5e6-96231b3b80d8