Skip to content
Commit e368de36 authored by Piotr Padlewski's avatar Piotr Padlewski
Browse files

Add -fforce-emit-vtables

Summary:
 In many cases we can't devirtualize
 because definition of vtable is not present. Most of the
 time it is caused by inline virtual function not beeing
 emitted. Forcing emitting of vtable adds a reference of these
 inline virtual functions.
 Note that GCC was always doing it.

Reviewers: rjmccall, rsmith, amharc, kuhar

Subscribers: llvm-commits, cfe-commits

Differential Revision: https://reviews.llvm.org/D47108



Co-authored-by: default avatarKrzysztof Pszeniczny <krzysztof.pszeniczny@gmail.com>
llvm-svn: 334600
parent 60e3d582
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment