1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib
Jason Liu 0561b945b9 [XCOFF][AIX] Differentiate usage of label symbol and csect symbol
Summary:
 We are using symbols to represent label and csect interchangeably before, and that could be a problem.
There are cases we would need to add storage mapping class to the symbol if that symbol is actually the name of a csect, but it's hard for us to figure out whether that symbol is a label or csect.

This patch intend to do the following:
    1. Construct a QualName (A name include the storage mapping class)
       MCSymbolXCOFF for every MCSectionXCOFF.
    2. Keep a pointer to that QualName inside of MCSectionXCOFF.
    3. Use that QualName whenever we need a symbol refers to that
       MCSectionXCOFF.
    4. Adapt the snowball effect from the above changes in
       XCOFFObjectWriter.cpp.

Reviewers: xingxue, DiggerLin, sfertile, daltenty, hubert.reinterpretcast

Reviewed By: DiggerLin, daltenty

Subscribers: wuzish, nemanjai, mgorny, hiraditya, kbarton, jsji, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69633
2019-11-08 09:30:10 -05:00
..
Analysis Revert f0c2a5a "[LV] Generalize conditions for sinking instrs for first order recurrences." 2019-11-07 11:00:02 +01:00
AsmParser [IR] Add Freeze instruction 2019-11-05 15:54:56 +09:00
BinaryFormat [XCOFF][AIX] Differentiate usage of label symbol and csect symbol 2019-11-08 09:30:10 -05:00
Bitcode [ThinLTO] Import readonly vars with refs 2019-11-07 15:13:35 +03:00
Bitstream
CodeGen Reland: [TII] Use optional destination and source pair as a return value; NFC 2019-11-08 13:00:39 +01:00
DebugInfo DWARFDebugLoclists: Move to a incremental parsing model 2019-11-06 16:25:06 +01:00
Demangle [demangle] NFC: get rid of NodeOrString 2019-11-04 12:17:12 -08:00
ExecutionEngine [JITLink] Refactor EH-frame handling to support eh-frames with existing relocs. 2019-11-06 14:30:26 -08:00
Fuzzer
FuzzMutate
IR [CR] ConstantRange::sshl_sat(): check sigdness of the min/max, not ranges 2019-11-08 10:32:56 +03:00
IRReader
LineEditor
Linker [IRMover] Set Address Space for moved global values 2019-11-05 16:32:48 -08:00
LTO
MC [XCOFF][AIX] Differentiate usage of label symbol and csect symbol 2019-11-08 09:30:10 -05:00
MCA
Object Revert "[XCOFF] Fix link errors from explicit template instantiation" 2019-11-07 09:39:13 -08:00
ObjectYAML Fix a typo in my previous commit 2019-11-06 11:42:30 -08:00
Option
Passes [NewPM] Add an SROA pass after loop unroll 2019-11-01 14:59:08 -07:00
ProfileData
Remarks
Support BinaryStream - fix static analyzer warnings. NFCI. 2019-11-08 13:20:24 +00:00
TableGen
Target [XCOFF][AIX] Differentiate usage of label symbol and csect symbol 2019-11-08 09:30:10 -05:00
Testing
TextAPI
ToolDrivers
Transforms [LV] Apply sink-after & interleave-groups as VPlan transformations (NFCI) 2019-11-08 15:25:14 +02:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt