[Info-vax] VMS x86-64 compilers
Dan Cross
cross at spitfire.i.gajendra.net
Thu Nov 16 15:27:40 EST 2023
In article <tDu5N.98763$YBDd.93660 at fx09.ams4>,
Mark Daniel <mark.daniel at wasd.vsm.com.au> wrote:
>On 17/11/2023 06:20, Dan Cross wrote:
>[snip]
>> Why is it doing that? I'd imagine inline assembler would be the
>> most likely culprit, but I'm guessing there. I wonder if you
>> can get the compiler to emit an assembler listing?
>
>Excellent suggestion but unfortunately no. The compile must quit very
>early. The object file has zero content precluding
>ANA/OBJECT/DISASSEMBLE and while CC/LIST/MACHINE seems to be working
>with this release the .LIS is similarly empty.
I'm mildly surprised by this: I'd imagine a compiler invocation
equivalent to `clang -S` on a Unix-y system would quite before
object generation; here, you just want to see what instructions
the compiler would generate without it actually trying to create
object code. I wonder if `CC/LIST/MACHINE/NOOBJECT` will do it?
You definitely ought to be able to get it to generate LLVM byte
code (which happens well before target instruction selection,
let alone object code generation) which may give some clues as
to what's going on.
- Dan C.
More information about the Info-vax
mailing list