<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/BinaryFormat/XCOFF.cpp, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[PowerPC][AIX] Emit PowerPC version for XCOFF (#113214)</title>
<updated>2024-12-10T16:11:50+00:00</updated>
<author>
<name>Amy Kwan</name>
<email>amy.kwan1@ibm.com</email>
</author>
<published>2024-12-10T16:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f31099ce581d33fdb64e35fee4b56d0a1145cab1'/>
<id>f31099ce581d33fdb64e35fee4b56d0a1145cab1</id>
<content type='text'>
This PR emits implements the ability to emit the PPC version for both
assembly and object files on AIX.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR emits implements the ability to emit the PPC version for both
assembly and object files on AIX.

</pre>
</div>
</content>
</entry>
<entry>
<title>[AIX][XCOFF][Bug-Fixed] parse the parameter type of the traceback table</title>
<updated>2021-07-15T20:54:22+00:00</updated>
<author>
<name>zhijian</name>
<email>zhijian@ca.ibm.com</email>
</author>
<published>2021-07-15T20:54:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=af06f7bcf35f146fd70e4424bbec62dadc4dba70'/>
<id>af06f7bcf35f146fd70e4424bbec62dadc4dba70</id>
<content type='text'>
Summary:
in the function PPCFunctionInfo::getParmsType(), there is if (Bits &gt; 31 || (Bits &gt; 30 &amp;&amp; (Elt != FixedType || hasVectorParms())))

when the Bit is 31 and the Elt is not FixedType(for example the Elt is FloatingType) , the 31th bit will be not encoded, it leave the bit as zero, when the function Expected&lt;SmallString&lt;32&gt;&gt; XCOFF::parseParmsType() the original implement
**// unsigned ParmsNum = FixedParmsNum + FloatingParmsNum;

while (Bits &lt; 32 &amp;&amp; ParsedNum &lt; ParmsNum) {
...
}//**
it will look the 31 bits (zero) as FixedType. which should be FloatingType,  and get a error.

Reviewers: Jason Liu,ZarkoCA

Differential Revision: https://reviews.llvm.org/D105023
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
in the function PPCFunctionInfo::getParmsType(), there is if (Bits &gt; 31 || (Bits &gt; 30 &amp;&amp; (Elt != FixedType || hasVectorParms())))

when the Bit is 31 and the Elt is not FixedType(for example the Elt is FloatingType) , the 31th bit will be not encoded, it leave the bit as zero, when the function Expected&lt;SmallString&lt;32&gt;&gt; XCOFF::parseParmsType() the original implement
**// unsigned ParmsNum = FixedParmsNum + FloatingParmsNum;

while (Bits &lt; 32 &amp;&amp; ParsedNum &lt; ParmsNum) {
...
}//**
it will look the 31 bits (zero) as FixedType. which should be FloatingType,  and get a error.

Reviewers: Jason Liu,ZarkoCA

Differential Revision: https://reviews.llvm.org/D105023
</pre>
</div>
</content>
</entry>
<entry>
<title>[AIX][XCOFF] emit vector info of traceback table.</title>
<updated>2021-06-14T15:15:22+00:00</updated>
<author>
<name>zhijian</name>
<email>zhijian@ca.ibm.com</email>
</author>
<published>2021-06-14T15:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7ed515d16803f12fc06258ebf8a405931dc8a637'/>
<id>7ed515d16803f12fc06258ebf8a405931dc8a637</id>
<content type='text'>
Summary:

emit vector info of traceback table.

Reviewers: Jason Liu,Hubert Tong
Differential Revision: https://reviews.llvm.org/D93659
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:

emit vector info of traceback table.

Reviewers: Jason Liu,Hubert Tong
Differential Revision: https://reviews.llvm.org/D93659
</pre>
</div>
</content>
</entry>
<entry>
<title>[XCOFF][AIX] Emit EH information in traceback table</title>
<updated>2020-12-16T14:34:59+00:00</updated>
<author>
<name>diggerlin</name>
<email>digger.llvm@gmail.com</email>
</author>
<published>2020-12-16T14:34:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a1e1dcabe4fb1f24401f3153409583fe133ffd46'/>
<id>a1e1dcabe4fb1f24401f3153409583fe133ffd46</id>
<content type='text'>
SUMMARY:

In order for the runtime on AIX to find the compact unwind section(EHInfo table),
we would need to set the following on the traceback table:

The 6th byte's longtbtable field to true to signal there is an Extended TB Table Flag.
The Extended TB Table Flag to be 0x08 to signal there is an exception handling info presents.
Emit the offset between ehinfo TC entry and TOC base after all other optional portions of traceback table.

The patch is authored by Jason Liu.

Reviewers: David Tenty, Digger Lin
Differential Revision: https://reviews.llvm.org/D92766
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SUMMARY:

In order for the runtime on AIX to find the compact unwind section(EHInfo table),
we would need to set the following on the traceback table:

The 6th byte's longtbtable field to true to signal there is an Extended TB Table Flag.
The Extended TB Table Flag to be 0x08 to signal there is an exception handling info presents.
Emit the offset between ehinfo TC entry and TOC base after all other optional portions of traceback table.

The patch is authored by Jason Liu.

Reviewers: David Tenty, Digger Lin
Differential Revision: https://reviews.llvm.org/D92766
</pre>
</div>
</content>
</entry>
<entry>
<title>[AIX][XCOFF] emit traceback table for function in aix</title>
<updated>2020-12-11T22:50:25+00:00</updated>
<author>
<name>diggerlin</name>
<email>digger.llvm@gmail.com</email>
</author>
<published>2020-12-11T22:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=997d286f2d0fde66f6eb825932eb06ca3b83607f'/>
<id>997d286f2d0fde66f6eb825932eb06ca3b83607f</id>
<content type='text'>
SUMMARY:
 1. added a new option -xcoff-traceback-table to control whether generate traceback table for function.
 2. implement the functionality of emit traceback table of a function.

Reviewers: hubert.reinterpretcast, Jason Liu
Differential Revision: https://reviews.llvm.org/D92398
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SUMMARY:
 1. added a new option -xcoff-traceback-table to control whether generate traceback table for function.
 2. implement the functionality of emit traceback table of a function.

Reviewers: hubert.reinterpretcast, Jason Liu
Differential Revision: https://reviews.llvm.org/D92398
</pre>
</div>
</content>
</entry>
<entry>
<title>XCOFF.h - replace StringRef.h include with forward declaration. NFC.</title>
<updated>2020-04-23T12:52:48+00:00</updated>
<author>
<name>Simon Pilgrim</name>
<email>llvm-dev@redking.me.uk</email>
</author>
<published>2020-04-23T12:10:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7c5fc4006027c7682b5a41f72f4637bbcbbcdf4d'/>
<id>7c5fc4006027c7682b5a41f72f4637bbcbbcdf4d</id>
<content type='text'>
Move StringRef.h include to XCOFF.cpp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move StringRef.h include to XCOFF.cpp
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-objdump][XCOFF] Use symbol index+symbol name + storage mapping class as label for -D</title>
<updated>2020-04-06T14:10:10+00:00</updated>
<author>
<name>diggerlin</name>
<email>digger.llvm@gmail.com</email>
</author>
<published>2020-04-06T14:09:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a26a441b99ff313a56c3e35ee526342d3f43c8b8'/>
<id>a26a441b99ff313a56c3e35ee526342d3f43c8b8</id>
<content type='text'>
SUMMARY:

For the llvm-objdump -D, the symbol name is used as a label in the disassembly for the specific address (when a symbol address is equal to the virtual address in the dump).

In XCOFF, multiple symbols may have the same name, being differentiated by their storage mapping class. It is helpful to print the QualName and not just the name when forming the output label for a csect symbol. The symbol index further removes any ambiguity caused by duplicate names.

To maintain compatibility with the binutils objdump, the XCOFF-specific --symbol-description option is added to enable the enhanced format.

Reviewers: hubert.reinterpretcast, James Henderson, Jason Liu ,daltenty
Subscribers: wuzish, nemanjai, hiraditya

Differential Revision: https://reviews.llvm.org/D72973
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SUMMARY:

For the llvm-objdump -D, the symbol name is used as a label in the disassembly for the specific address (when a symbol address is equal to the virtual address in the dump).

In XCOFF, multiple symbols may have the same name, being differentiated by their storage mapping class. It is helpful to print the QualName and not just the name when forming the output label for a csect symbol. The symbol index further removes any ambiguity caused by duplicate names.

To maintain compatibility with the binutils objdump, the XCOFF-specific --symbol-description option is added to enable the enhanced format.

Reviewers: hubert.reinterpretcast, James Henderson, Jason Liu ,daltenty
Subscribers: wuzish, nemanjai, hiraditya

Differential Revision: https://reviews.llvm.org/D72973
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-objdump][XCOFF][AIX] Implement -r option</title>
<updated>2020-03-27T16:05:42+00:00</updated>
<author>
<name>jasonliu</name>
<email>jasonliu.development@gmail.com</email>
</author>
<published>2020-03-27T16:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d60d7d69de9b559beae6cce1e3df79240e0fddf1'/>
<id>d60d7d69de9b559beae6cce1e3df79240e0fddf1</id>
<content type='text'>
Summary:
Implement several XCOFF hooks to get '-r' option working for llvm-objdump -r.

Reviewer: DiggerLin, hubert.reinterpretcast, jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D75131
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Implement several XCOFF hooks to get '-r' option working for llvm-objdump -r.

Reviewer: DiggerLin, hubert.reinterpretcast, jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D75131
</pre>
</div>
</content>
</entry>
<entry>
<title>[AIX] Emit TOC entries for ASM printing</title>
<updated>2019-11-27T22:20:55+00:00</updated>
<author>
<name>David Tenty</name>
<email>daltenty@ibm.com</email>
</author>
<published>2019-11-27T22:17:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=98740643f794254342e22d106eafb73cf459f465'/>
<id>98740643f794254342e22d106eafb73cf459f465</id>
<content type='text'>
Summary:
Emit the correct .toc psuedo op when we change to the TOC and emit
TC entries. Make sure TOC psuedos get the right symbols via overriding
getMCSymbolForTOCPseudoMO on AIX. Add a test for TOC assembly writing
and update tests to include TOC entries.

Also make sure external globals have a csect set and handle external function descriptor (originally authored by Jason Liu) so we can emit TOC entries for them.

Reviewers: DiggerLin, sfertile, Xiangling_L, jasonliu, hubert.reinterpretcast

Reviewed By: jasonliu

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70461
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Emit the correct .toc psuedo op when we change to the TOC and emit
TC entries. Make sure TOC psuedos get the right symbols via overriding
getMCSymbolForTOCPseudoMO on AIX. Add a test for TOC assembly writing
and update tests to include TOC entries.

Also make sure external globals have a csect set and handle external function descriptor (originally authored by Jason Liu) so we can emit TOC entries for them.

Reviewers: DiggerLin, sfertile, Xiangling_L, jasonliu, hubert.reinterpretcast

Reviewed By: jasonliu

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70461
</pre>
</div>
</content>
</entry>
<entry>
<title>Add read-only data assembly writing for aix</title>
<updated>2019-11-15T16:30:19+00:00</updated>
<author>
<name>diggerlin</name>
<email>digger.llvm@gmail.com</email>
</author>
<published>2019-11-15T16:30:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3dfa975fb36fda1d8cff700d4251db330c83bfa3'/>
<id>3dfa975fb36fda1d8cff700d4251db330c83bfa3</id>
<content type='text'>
SUMMARY:
The patch will emit read-only variable assembly code for aix.

Reviewers: daltenty,Xiangling_Liao
Subscribers: rupprecht, seiyai,hiraditya

Differential Revision: https://reviews.llvm.org/D70182
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SUMMARY:
The patch will emit read-only variable assembly code for aix.

Reviewers: daltenty,Xiangling_Liao
Subscribers: rupprecht, seiyai,hiraditya

Differential Revision: https://reviews.llvm.org/D70182
</pre>
</div>
</content>
</entry>
</feed>
