[cfe-users] clang x86 assembler 8-bit displacements

2016-04-26 Thread Zenith432 via cfe-users
This time a question about the integrated assembler --- code .code32 .data L1: .quad 88 .equ L2, . - L1 .byte 29 .text mov 55(%ebx), %eax mov L2(%ebx), %eax end code clang -c -o file.o file.s gives this - 8b4337 movl

[cfe-users] Basic AST-dump when errors are encountered

2016-04-26 Thread Lander Brandt via cfe-users
I’m trying to parse the following file:  http://opensource.apple.com/source/IOUSBFamily/IOUSBFamily-630.4.5/IOUSBUserClient/Classes/IOUSBInterfaceUserClientV3.cpp With the following command:     clang -ferror-limit=1000 -Xclang -ast-dump -I$HOME/Downloads/IOUSBFamily-630.4.5/IOUSBUserClient/Head