[all-commits] [llvm/llvm-project] 1ae1dd: [MC][PowerPC] Replace MCContext::reportFatalError ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jan 15 00:01:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ae1dd16cf2de7f85e2eb68f975d63fbd9c20098
      https://github.com/llvm/llvm-project/commit/1ae1dd16cf2de7f85e2eb68f975d63fbd9c20098
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-01-15 (Sat, 15 Jan 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
    M llvm/test/MC/PowerPC/ppc64-localentry-error1.s
    R llvm/test/MC/PowerPC/ppc64-localentry-error2.s

  Log Message:
  -----------
  [MC][PowerPC] Replace MCContext::reportFatalError calls with reportError

User errors should use reportError. reportError allows us to continue parsing
the file and collect more diagnostics.

While here, make the diagnostic follow convention, merge tests, and test
line/column numbers.




More information about the All-commits mailing list