Displaying 4 results from an estimated 4 matches for "09foo".
2016 Oct 03
3
ThinLTO: module-scope inline assembly blocks
...bc` and `a.thinlto.bc`.
The `a.thinlto.bc` file contains nothing, only `source_filename = ...` .
The `a.o.opt.bc` (this looks like the result after ThinLTO importing and
optimization) contains the assembly block that it should not have:
```
module asm "\09.text"
module asm "\09.globl\09foo"
module asm "\09.align\0916, 0x90"
module asm "\09.type\09foo, at function"
module asm "foo:"
module asm "\09movq %rdi, %rax"
module asm "\09rorw $8, %ax"
module asm "\09ret "
module asm "\09.size\09foo, .-foo"
module asm &q...
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
...inline assembly blocks.
I have a module ASM with a function `foo` defined in an inline assembly
block (and an LLVM IR `declare @foo()` for it). There is also a "normal"
function `void simplefunction()` defined in the module.
```
module asm "\09.text"
module asm "\09.globl\09foo"
module asm "\09.align\0916, 0x90"
module asm "\09.type\09foo, at function"
module asm "foo:"
module asm "\09movq %rdi, %rax"
module asm "\09rorw $8, %ax"
module asm "\09ret "
module asm "\09.size\09foo, .-foo"
module asm &q...
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
...he `a.thinlto.bc` file contains nothing, only `source_filename = ...` .
> The `a.o.opt.bc` (this looks like the result after ThinLTO importing and
> optimization) contains the assembly block that it should not have:
> ```
> module asm "\09.text"
> module asm "\09.globl\09foo"
> module asm "\09.align\0916, 0x90"
> module asm "\09.type\09foo, at function"
> module asm "foo:"
> module asm "\09movq %rdi, %rax"
> module asm "\09rorw $8, %ax"
> module asm "\09ret "
> module asm "\09.si...
2016 Oct 03
2
ThinLTO: module-scope inline assembly blocks
On Mon, Oct 3, 2016 at 4:27 PM, Teresa Johnson <tejohnson at google.com> wrote:
>
>
> On Mon, Oct 3, 2016 at 6:53 AM, Johan Engelen via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi all,
>> I am trying to add ThinLTO to the LDC compiler. It seems to work well
>> on Mac (XCode 8) and Ubuntu (ld.gold + LLVMgold plugin).
>> However, I am