LDC LLVM profiling instrumentation

From D Wiki
Revision as of 13:25, 21 November 2015 by JohanEngelen (talk | contribs) (LLVM profiling instrumentation)
Jump to: navigation, search

LLVM profiling instrumentation

This page functions as a place to collect information and to document how the implementation is done.

LLVM InstrProf

[describe what and how LLVM supports profile instrumentation]

LLVM intrinsics

This was introduced with LLVM commit r223672

LLVM features two intrinsics for instrumentation:


Example of Clang's LLVM IR output

[show minimal C code example and Clang's -emit-llvm output for it]