[PATCH] D129518: [BOLT] Add function layout class
Thorsten via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 00:24:37 PDT 2022
tschuett added inline comments.
================
Comment at: bolt/include/bolt/Core/FunctionLayout.h:42
+ /// Named fragment when hot/cold splitting is used.
+ enum NamedFragment : unsigned { NF_HOT = 0, NF_COLD = 1 };
+
----------------
If you use an enum class, then you can get rid of the prefixes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129518/new/
https://reviews.llvm.org/D129518
More information about the llvm-commits
mailing list