[lld] [lld] select a default eflags for hexagon (PR #108431)
Alexey Karyakin via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 12:14:33 PDT 2024
================
@@ -60,17 +60,17 @@ Hexagon::Hexagon() {
}
uint32_t Hexagon::calcEFlags() const {
- assert(!ctx.objectFiles.empty());
+ static uint32_t DEFAULT_ARCH_REV = 0x60;
----------------
quic-akaryaki wrote:
I think it should be pulled into a global scope for better visibility. At least, not a non-const static.
https://github.com/llvm/llvm-project/pull/108431
More information about the llvm-commits
mailing list