aboutsummaryrefslogtreecommitdiff
path: root/ffi/src/lib.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-08-21 19:01:37 -0700
committeriximeow <me@iximeow.net>2021-08-21 19:20:41 -0700
commita5a67ee666381b2716862dec6df2e85419c352bc (patch)
tree96df60ea808be57716ca4b20e2ba30a40d088942 /ffi/src/lib.rs
parentb6f83fa1b4859a6de2d7017e9709b9520d933f6b (diff)
maintain pre-annotation inlining properties
this gets yaxpeax-x86 in no-inline configurations back to building as it did before, but is quite a blunt hammer. it seems that extra calls to `sink.record` trips the inlining thresholds for `read_with_annotation`, and then its caller, and its caller, even when one of them is just a delegation to its inner call. this is particularly unfortunate because yaxpeax-x86 is now making a decision about the inlining of a rather large function at the public edge of its API, but these attributes match the inlining decisions that LLVM was making before adding `DescriptionSink`. hopefully not too bad. not sure how to handle this in the future.
Diffstat (limited to 'ffi/src/lib.rs')
0 files changed, 0 insertions, 0 deletions