This is an archive of the discontinued LLVM Phabricator instance.

[ubsan] Minimize size of data for type_mismatch (Redo of D19667)
ClosedPublic

Authored by filcab on Jan 3 2017, 10:33 AM.

Details

Summary

This patch makes the type_mismatch static data 7 bytes smaller (and it
ends up being 16 bytes smaller due to alignment restrictions, at least
on some x86-64 environments).

It revs up the type_mismatch handler version since we're breaking binary
compatibility. I will soon post a patch for the compiler-rt side.

Diff Detail

Repository
rL LLVM

Event Timeline

filcab updated this revision to Diff 82913.Jan 3 2017, 10:33 AM
filcab retitled this revision from to [ubsan] Minimize size of data for type_mismatch (Redo of D19667).
filcab updated this object.
filcab added a subscriber: llvm-commits.
filcab edited subscribers, added: cfe-commits; removed: llvm-commits.Jan 3 2017, 10:47 AM
vitalybuka edited edge metadata.Jan 5 2017, 1:41 PM

LGTM, but I am not the owner.

filcab accepted this revision.Jan 6 2017, 6:33 AM
filcab added a reviewer: filcab.

Since Richard has already LGTMed the previous version, and this is a trivial change, I'll go ahead with committing.

This revision is now accepted and ready to land.Jan 6 2017, 6:33 AM
This revision was automatically updated to reflect the committed changes.