[lld] [llvm] [lld-macho] Fix thunks for non-__text TEXT sections (PR #99052)

Leonard Grey via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 08:32:12 PDT 2024


================
@@ -0,0 +1,18 @@
+//===- Sections.h ------------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLD_MACHO_SECTIONS_H
+#define LLD_MACHO_SECTIONS_H
+
+#include "lld/Common/LLVM.h"
----------------
speednoisemovement wrote:

Done. Forward declare is a little unergonomic in this case.

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


More information about the llvm-commits mailing list