[all-commits] [llvm/llvm-project] 8a7185: [Bitcode] Handle invalid abbrev number error more ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 7 01:35:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a718541838a0ab1e87f4b8923bb16e640f73de3
      https://github.com/llvm/llvm-project/commit/8a718541838a0ab1e87f4b8923bb16e640f73de3
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

  Changed paths:
    M llvm/include/llvm/Bitstream/BitstreamReader.h
    M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
    M llvm/lib/Bitstream/Reader/BitstreamReader.cpp
    A llvm/test/Bitcode/Inputs/invalid-abbrev-number.bc
    M llvm/test/Bitcode/invalid.test

  Log Message:
  -----------
  [Bitcode] Handle invalid abbrev number error more gracefully

Avoid report_fatal_error(), propagate the error upwards instead.




More information about the All-commits mailing list