Skip to content
Snippets Groups Projects
Commit 91da43b3 authored by Simon Schuster's avatar Simon Schuster
Browse files

Add '#pragma platina guard "..."' to clang

This commit adds a custom pragma to the clang frontend:
  `#pragma platina guard "..."`
It degrades to the llvm's intrinisc::platina, which stores the
annotation string in the associated metadata node.

Rational is to use that pragma to mark viable, but effectively dead
code paths, e.g. code paths that are only entered during an
initialisation phase.
parent 9e902416
Branches master
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment