HomePhabricator

[clang][NewPM] Move EntryExitInstrumenterPass to the start of the pipeline

Description

[clang][NewPM] Move EntryExitInstrumenterPass to the start of the pipeline

This fixes CodeGen/x86_64-instrument-functions.c when running under the new
pass manager. The pass should go before any other pass to prevent
__cyg_profile_func_enter/exit() from not being emitted by inlined functions.

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

Details

Committed
leonardchanJun 20 2019, 12:35 PM
Differential Revision
D63577: [clang][NewPM] Move EntryExitInstrumenterPass to the start of the pipeline
Branches
Unknown
Tags
Unknown