[all-commits] [llvm/llvm-project] f98964: [AIX][XCOFF] Fix XCOFFObjectWriter assertion failu...

diggerlin via All-commits all-commits at lists.llvm.org
Tue Mar 3 07:03:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f9896435c99b3288e1eba2b9226b56f603329cf1
      https://github.com/llvm/llvm-project/commit/f9896435c99b3288e1eba2b9226b56f603329cf1
  Author: diggerlin <digger.llvm at gmail.com>
  Date:   2020-03-03 (Tue, 03 Mar 2020)

  Changed paths:
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/test/CodeGen/PowerPC/aix-return55.ll

  Log Message:
  -----------
  [AIX][XCOFF] Fix XCOFFObjectWriter assertion failure with alignment-related gap and improve text section output testing

SUMMARY:
1.if there is a gap between the end virtual address of one section and the beginning virtual address of the next section, the XCOFFObjectWriter.cpp will hit a assert.

2.as discussed in the patch https://reviews.llvm.org/D66969,
since implemented the function description. We can output the raw object data for function.
we need to create a test for raw text section content and test section header for xcoff object file.

Reviewer: daltenty,hubert.reinterpretcast,jasonliu

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




More information about the All-commits mailing list