[all-commits] [llvm/llvm-project] ab77fa: [AIX][XCOFF][Patch2] decode vector information and...
diggerlin via All-commits
all-commits at lists.llvm.org
Thu Nov 19 07:24:43 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ab77fa515583ca906f2cb09a5f5e1ea3c48ec725
https://github.com/llvm/llvm-project/commit/ab77fa515583ca906f2cb09a5f5e1ea3c48ec725
Author: diggerlin <digger.llvm at gmail.com>
Date: 2020-11-19 (Thu, 19 Nov 2020)
Changed paths:
M llvm/include/llvm/BinaryFormat/XCOFF.h
M llvm/include/llvm/Object/XCOFFObjectFile.h
M llvm/lib/Object/XCOFFObjectFile.cpp
M llvm/unittests/Object/XCOFFObjectFileTest.cpp
Log Message:
-----------
[AIX][XCOFF][Patch2] decode vector information and extent long table of the traceback table of the xcoff.
SUMMARY:
1. decode the Vector extension if has_vec is set
2. decode long table fields, if longtbtable is set.
There is conflict on the bit order of HasVectorInfoMask and HasExtensionTableMask between AIX os header and IBM aix compiler XLC.
In the /usr/include/sys/debug.h defines
static constexpr uint32_t HasVectorInfoMask = 0x0040'0000;
static constexpr uint32_t HasExtensionTableMask = 0x0080'0000;
but the XLC defines as
static constexpr uint32_t HasVectorInfoMask = 0x0080'0000;
static constexpr uint32_t HasExtensionTableMask = 0x0040'0000;
we follows the definition of the IBM AIX compiler XLC here.
Reviewer: Jason Liu
Differential Revision: https://reviews.llvm.org/D86461
More information about the All-commits
mailing list