[lld] [lld] select a default eflags for hexagon (PR #108431)

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 12:56:08 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;
----------------
androm3da wrote:

Thanks for pointing it out.  Fixed.

https://github.com/llvm/llvm-project/pull/108431


More information about the llvm-commits mailing list