[llvm] [DebugInfo] Don't emit .loc directive with all values zero (PR #109978)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 01:13:14 PDT 2024


================
@@ -0,0 +1,27 @@
+; RUN: llc -mtriple=arm-none-eabi < %s | FileCheck %s
+; RUN: llc -mtriple=arm-none-eabi < %s | llvm-mc --triple=arm-none-eabi -mcpu=cortex-m3
----------------
OCHyams wrote:

Ah I see, ok cool. Potentially worth adding a comment saying as such? ymmv, still LGTM either way

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


More information about the llvm-commits mailing list