[all-commits] [llvm/llvm-project] d094f3: [llvm-exegesis] SnippetFile: do create source mana...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sun Apr 4 05:59:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d094f3c3c5c447e2241f6d8b7e7379fc01865aeb
      https://github.com/llvm/llvm-project/commit/d094f3c3c5c447e2241f6d8b7e7379fc01865aeb
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    A llvm/test/tools/llvm-exegesis/X86/uops-misspelled-div.s
    M llvm/tools/llvm-exegesis/lib/SnippetFile.cpp

  Log Message:
  -----------
  [llvm-exegesis] SnippetFile: do create source manager in MCContext

This way, once there's an error in the snippet file (like in the test),
llvm-exegesis won't crash with an assertion failure,
but print a nice diagnostic about the problem.




More information about the All-commits mailing list