[llvm] [llvm-ml] Remove unsafe getCurrentSegmentOnly() call (PR #123355)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 18 21:00:22 PST 2025


================
@@ -0,0 +1,7 @@
+; RUN: not llvm-ml -filetype=s %s /Fo /dev/null 2>&1 | FileCheck %s
+
+; CHECK: :[[# @LINE + 1]]:1: error: expected section directive before 'PROC' directive
----------------
MaskRay wrote:

This is ok, but in most cases we omit spaces beside `+`: `LINE+1`

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


More information about the llvm-commits mailing list