Generates code like this
!llvm.module.flags = !{!0, !1}
!0 = !{i32 1, !"StrictVTablePointers", i32 1}
!1 = !{i32 3, !"StrictVTablePointersRequirement", !2}
!2 = !{!"StrictVTablePointers", i32 1}
Paths
| Differential D12580
Added StrictVTablePointers linking requirement ClosedPublic Authored by Prazek on Sep 2 2015, 5:23 PM.
Details
Diff Detail Event TimelinePrazek updated this object. Comment Actions Functionally LGTM, but please add a test case. Is there any precedent for how to spell these module flags (StrictVTablePointers / strict_vtable_pointers / strict.vtable.pointers)? This revision is now accepted and ready to land.Sep 3 2015, 1:42 PM
Revision Contents
Diff 33969 lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/strict-vtable-pointers.cpp
|