[llvm] [MachO] Detect overflow in section offset. (PR #98685)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 12 16:39:45 PDT 2024
================
@@ -0,0 +1,9 @@
+// RUN: not llvm-mc -triple x86_64-apple-macosx -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
+
+// CHECK: Cannot encode offset of section
----------------
MaskRay wrote:
check the `error:` prefix of the diagnostic
https://github.com/llvm/llvm-project/pull/98685
More information about the llvm-commits
mailing list