[all-commits] [llvm/llvm-project] 3aec1c: [AArch64] [Windows] Error out on unsupported symbo...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Aug 6 04:48:48 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3aec1c6a493f543d41caf99e5df9056776856941
      https://github.com/llvm/llvm-project/commit/3aec1c6a493f543d41caf99e5df9056776856941
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-08-06 (Thu, 06 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
    A llvm/test/MC/AArch64/coff-relocations-diags.s

  Log Message:
  -----------
  [AArch64] [Windows] Error out on unsupported symbol locations

These might occur in seemingly generic assembly. Previously when
targeting COFF, they were silently ignored, which certainly won't
give the right result. Instead clearly error out, to make it clear
that the assembly needs to be adjusted for this target.

Also change a preexisting report_fatal_error into a proper error
message, pointing out the offending source instruction. This isn't
strictly an internal error, as it can be triggered by user input.

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

(cherry picked from commit f5e6fbac24f198d075a7c4bc0879426e79040bcf)




More information about the All-commits mailing list