Chromium Code Reviews
DescriptionAdd DISABLE_CFI_PERF attribute on the methods with CFI checks disabled.
While we have not observed CFI to slowdown real-world use cases,
there are a few blink_perf microbenchmarks, which are somewhat affected
by the change. This change removes CFI protection from the methods
which contribute the most to the slowdown.
Eventually, when proposed optimizations in Clang are implemented
(https://crbug.com/638056, https://crbug.com/638064), these attributes
would be possible to remove from all/most of the methods.
This CL does not in fact change the list of disabled methods, it
just converts them from CFI blacklist entries into attributes.
This should increase visibility, and also serve as a guard against refactoring.
BUG=641536
Committed: https://crrev.com/eb64c60f4789ab32bca921f63291ff8ccb35ab82
Cr-Commit-Position: refs/heads/master@{#415893}
Patch Set 1 #
Messages
Total messages: 16 (7 generated)
|
|||||||||||||||||||||||||||||||||||||