HomePhabricator

[xray] Option to omit the function index

Authored by ianlevesque on Jun 16 2020, 5:36 PM.

Description

[xray] Option to omit the function index

Summary:
Add a flag to omit the xray_fn_idx to cut size overhead and relocations
roughly in half at the cost of reduced performance for single function
patching. Minor additions to compiler-rt support per-function patching
without the index.

Reviewers: dberris, MaskRay, johnislarry

Subscribers: hiraditya, arphaman, cfe-commits, #sanitizers, llvm-commits

Tags: #clang, #sanitizers, #llvm

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

Details

Committed
ianlevesqueJun 17 2020, 10:49 AM
Differential Revision
D81995: [xray] Option to omit the function index
Parents
rGacb30f6856c3: [X86] For 32-bit targets, emit two-byte NOP when possible
Branches
Unknown
Tags
Unknown