[all-commits] [llvm/llvm-project] 53f9b9: [LoongArch] Improve the "out of range" error infor...

Xiaodong Liu via All-commits all-commits at lists.llvm.org
Sat Oct 29 02:53:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53f9b95179f46d94f3032626465b0d0442e3839c
      https://github.com/llvm/llvm-project/commit/53f9b95179f46d94f3032626465b0d0442e3839c
  Author: Xiaodong Liu <liuxiaodong at loongson.cn>
  Date:   2022-10-29 (Sat, 29 Oct 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/test/MC/LoongArch/Relocations/fixups-diagnostics.s

  Log Message:
  -----------
  [LoongArch] Improve the "out of range" error information reported by `adjustFixupValue`

There are three reduplicate error messages for different conditions. I
add meaningful information to make them more informative.

Differential Revision: https://reviews.llvm.org/D136742




More information about the All-commits mailing list