diff options
author | dim <dim@FreeBSD.org> | 2012-07-13 21:48:01 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-07-13 21:48:01 +0000 |
commit | 76bd823f74d3af7f79b67f482776b3768489aaab (patch) | |
tree | 957c03a90b095be11245e624699464dba71930cf /contrib/llvm/tools/clang/lib/Headers/stdalign.h | |
parent | cdc323eb217b4180fc299153690511f1582680e6 (diff) | |
download | FreeBSD-src-76bd823f74d3af7f79b67f482776b3768489aaab.zip FreeBSD-src-76bd823f74d3af7f79b67f482776b3768489aaab.tar.gz |
Pull in r159895 from upstream clang trunk:
When marking virtual functions as used for a class' vtable, mark all functions
which will appear in the vtable as used, not just those ones which were
declared within the class itself. Fixes an issue reported as comment#3 in
PR12763 -- we sometimes assert in codegen if we try to emit a reference to a
function declaration which we've not marked as referenced. This also matches
gcc's observed behavior.
This should fix clang assertions when building certain components of the
LibreOffice port.
MFC after: 3 days
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Headers/stdalign.h')
0 files changed, 0 insertions, 0 deletions