[PATCH] D92766: [XCOFF][AIX] Emit EH information in traceback table

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 11:20:48 PST 2020


jasonliu added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/aix-exception.ll:119
+; ASM:    .vbyte  2, 0x000d                       # Function name len = 13
+; ASM:    .byte '_,'Z,'9,'c,'a,'t,'c,'h,'F,'u,'n,'c,'v # Function Name
+; ASM:    .byte 0x08                            # ExtensionTableFlag = TB_EH_INFO
----------------
majnemer wrote:
> Is this right? I'd expect '_', 'Z', '9',...
I think this is the accepted syntax for the assembler on AIX at least. 
https://www.ibm.com/support/knowledgecenter/ssw_aix_72/assembler/assembler_pdf.pdf

```
ASCII character constants (for example, 'X) and string constants (for example, Hello, world) can also
be assembled using the .byte pseudo-op.
```
and example in the guide:
```
.csect data[rw]
.byte "Hello, world"
.byte 'H,'e,'l,'l,'o,',,' ,'w,'o,'r,'l,'d
```


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92766/new/

https://reviews.llvm.org/D92766



More information about the llvm-commits mailing list