[lld] [lld][LoongArch] Support the R_LARCH_{ADD,SUB}_ULEB128 relocation types (PR #81133)

Lu Weining via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 21:24:38 PST 2024


================
@@ -0,0 +1,100 @@
+# REQUIRES: loongarch
+# RUN: rm -rf %t && split-file %s %t && cd %t
+
+# RUN: llvm-mc --filetype=obj --triple=loongarch64 --mattr=+relax a.s -o a.o
+# RUN: llvm-readobj -r -x .gcc_except_table -x .debug_rnglists -x .debug_loclists a.o | FileCheck %s --check-prefix=REL
+# RUN: ld.lld -shared --gc-sections --noinhibit-exec a.o -o a.so
----------------
SixWeining wrote:

Is `--noinhibit-exec` useful?

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


More information about the llvm-commits mailing list