[all-commits] [llvm/llvm-project] 34cfed: [AIX][XCOFF] add symbol priority for the llvm-objd...
diggerlin via All-commits
all-commits at lists.llvm.org
Fri May 29 08:09:39 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 34cfed24ebd3a2a9f286877d142a68dbf2c42c96
https://github.com/llvm/llvm-project/commit/34cfed24ebd3a2a9f286877d142a68dbf2c42c96
Author: diggerlin <digger.llvm at gmail.com>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h
M llvm/lib/MC/MCDisassembler/MCDisassembler.cpp
M llvm/test/tools/llvm-objdump/XCOFF/disassemble-symbol-description.test
M llvm/unittests/MC/CMakeLists.txt
A llvm/unittests/MC/MCDisassemblerTest.cpp
Log Message:
-----------
[AIX][XCOFF] add symbol priority for the llvm-objdump -D -symbol-description
SUMMARY:
when there are two symbol has the same address. llvm-objdump -D -symbol-description will select symbol based on the following rule:
1. using Label first if there is a Label symbol.
2. If there is not Label, using a symbol which has Storage Mapping class.
3. if more than one symbol has storage mapping class, put the TC0 has the low priority, for other storage mapping class , compare based on the value.
Reviewers: James Henderson ,hubert.reinterpretcast,
Differential Revision: https://reviews.llvm.org/D78387
More information about the All-commits
mailing list