[all-commits] [llvm/llvm-project] e73d0b: [COFF] Error on unexpected .pdata size

Hans via All-commits all-commits at lists.llvm.org
Mon Jul 13 04:39:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e73d0b5719966ddbeff7a3da70a3cb782c3733ed
      https://github.com/llvm/llvm-project/commit/e73d0b5719966ddbeff7a3da70a3cb782c3733ed
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M lld/COFF/Writer.cpp
    A lld/test/COFF/pdata-arm64-bad.yaml

  Log Message:
  -----------
  [COFF] Error on unexpected .pdata size

Previously, lld would crash if the .pdata size was not an even multiple
of the expected .pdata entry size. This makes it error gracefully instead.

(We hit this in Chromium due to an assembler problem: https://crbug.com/1101577)

Differential revision: https://reviews.llvm.org/D83479




More information about the All-commits mailing list