[lld] [lld] select a default eflags for hexagon (PR #108431)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 19:50:12 PDT 2024
================
@@ -60,17 +60,17 @@ Hexagon::Hexagon() {
}
uint32_t Hexagon::calcEFlags() const {
- assert(!ctx.objectFiles.empty());
+ static const uint32_t DEFAULT_ARCH_REV = 0x60;
----------------
MaskRay wrote:
The variable name does not follow the convention. Since this variable is only used once, you can inline it and add a comment.
https://github.com/llvm/llvm-project/pull/108431
More information about the llvm-commits
mailing list