Is there a way to trace what code block in a bitcode file is run?

Hi,

The cfg pass is only a static analysis of a bitcode file. Is there a
way to trace what code blocks in a bitcode file actually run? Thanks.