Displaying 2 results from an estimated 2 matches for "_d4qosd3foofzi".
2017 Jul 06
2
MSP430 code generation from LLVM IR
...files. I tried changing from -mtriple=msp430
to -mtriple=msp430-unknown-elf, to no avail. E.g.:
$ ldc2 -mtriple=msp430-unknown-elf -c -no-integrated-as qosd.d
ldc-ad1c8f0.s:3:11: error: mach-o section specifier requires a segment
whose length is between 1 and 16 characters
.section
.text._D4qosd3fooFZi,"axG", at progbits,_D4qosd3fooFZi,comdat
^
ldc-ad1c8f0.s:6:2: error: unknown directive
.type _D4qosd3fooFZi, at function
^
ldc-ad1c8f0.s:8:2: error: invalid instruction mnemonic 'mov.w'
mov.w #42, r14
^~~~~
(...)
I didn...
2017 Jul 05
3
MSP430 code generation from LLVM IR
Hello,
While trying to find out why the LDC compiler refuses to generate object
code for MSP430 targets (but generates MSP430 assembly or LLVM IR/bitcode),
I came across the following apparent inconsistency.
This works:
$ clang --target=msp430 -c test.c
This doesn't work:
$ clang --target=msp430 -S -emit-llvm test.c
$ llc -filetype=obj test.ll
/opt/msp430/bin/llc: target does not support