Displaying 12 results from an estimated 12 matches for "lcfi0".
2017 Apr 05
2
Deopt operand bundle behavior
...tractvalue { i8*, i8* } %0, 1
%2 = bitcast i8* %1 to void ()*
call void %2() [ "deopt"() ]
ret void
}
We get this output machine code for x86_64:
_testFunc: ## @testFunc
.cfi_startproc
## BB#0: ## %entry
pushq %rax
Lcfi0:
.cfi_def_cfa_offset 16
callq _getCode
callq *%rax
Ltmp0:
popq %rax
retq
Without the deopt operand bundle:
_testFunc: ## @testFunc
.cfi_startproc
## BB#0: ## %entry
pushq %rax
Lcfi0:
.cfi_def_cfa_offs...
2011 Jul 28
0
[LLVMdev] LLVMdev Digest, Vol 85, Issue 50
...g about, and on what platform?
The results I'm seeing clearly have both gcc and clang on Darwin generating
different LSDAs for your cleanup examples and your catch-all examples.
Here is the output I see from gcc-4.2 for your cleanup example:
.text
.globl __Z3barv
__Z3barv:
LFB2:
pushq %rbp
LCFI0:
movq %rsp, %rbp
LCFI1:
pushq %rbx
LCFI2:
subq $40, %rsp
LCFI3:
leaq -17(%rbp), %rdi
call __ZN3BobC1Ev
leaq -18(%rbp), %rdi
call __ZN3BobC1Ev
leaq -19(%rbp), %rdi
call __ZN3BobC1Ev
LEHB0:
call __Z3foov
LEHE0:
<snip>
.section __TEXT,__gcc_except_tab
GCC_except_table0:
LLSDA2:
.by...
2016 Dec 02
2
Libfuzzer depending on uninitialized debug info
...ertPoint invalidates the previous call to SetCurrentDebugLocation)
But then there is another problem....
% cat dummy.c
void foo() {}
% clang -O -c -gmlt -fsanitize-coverage=func,trace-pc-guard -S dummy.c -o -
.LBB0_1:
.loc 1 1 0 # dummy.c:1:0
pushq %rax
.Lcfi0:
.cfi_def_cfa_offset 16
movl $.L__sancov_gen_, %edi
callq __sanitizer_cov_trace_pc_guard
% clang -O -c -gmlt -fsanitize-coverage=func,trace-pc-guard -S dummy.c -mllvm -use-unknown-locations -o -
.LBB0_1:
.loc 1 1 0 is_stmt 0 # dummy.c:1:0...
2016 Dec 02
2
Libfuzzer depending on uninitialized debug info
There is already –mllvm –use-unknown-locations which ought to trigger this. Don't need my patch.
--paulr
From: Kostya Serebryany [mailto:kcc at google.com]
Sent: Thursday, December 01, 2016 4:08 PM
To: Robinson, Paul
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] Libfuzzer depending on uninitialized debug info
On Thu, Dec 1, 2016 at 3:37 PM, Robinson, Paul <paul.robinson at
2011 Jul 28
2
[LLVMdev] LLVMdev Digest, Vol 85, Issue 50
John,
I'm still not sure what you're talking about, I have
included the assembly
output from two compilations, one with a user explicit catch-all, one
with only an
implicit cleanup, the DWARF Action Table and Types Table are
absolutely identical,
as are the indexes used to reference the Action Table from the region
maps.
-Peter Lawrence.
2016 Dec 03
0
Libfuzzer depending on uninitialized debug info
...problem....
>
>
>
> % cat dummy.c
>
> void foo() {}
>
>
>
> % clang -O -c -gmlt -fsanitize-coverage=func,trace-pc-guard -S dummy.c
> -o -
>
> .LBB0_1:
>
> .loc 1 1 0 # dummy.c:1:0
>
> pushq %rax
>
> .Lcfi0:
>
> .cfi_def_cfa_offset 16
>
> movl $.L__sancov_gen_, %edi
>
> callq __sanitizer_cov_trace_pc_guard
>
>
>
> % clang -O -c -gmlt -fsanitize-coverage=func,trace-pc-guard -S dummy.c
> -mllvm -use-unknown-locations -o -
>
>
>
&g...
2016 Dec 12
1
Libfuzzer depending on uninitialized debug info
...ertPoint invalidates the previous call to SetCurrentDebugLocation)
But then there is another problem....
% cat dummy.c
void foo() {}
% clang -O -c -gmlt -fsanitize-coverage=func,trace-pc-guard -S dummy.c -o -
.LBB0_1:
.loc 1 1 0 # dummy.c:1:0
pushq %rax
.Lcfi0:
.cfi_def_cfa_offset 16
movl $.L__sancov_gen_, %edi
callq __sanitizer_cov_trace_pc_guard
% clang -O -c -gmlt -fsanitize-coverage=func,trace-pc-guard -S dummy.c -mllvm -use-unknown-locations -o -
.LBB0_1:
.loc 1 1 0 is_stmt 0 # dummy.c:1:0...
2009 Sep 25
2
[LLVMdev] MinGW/MSVC++ uses different ABI for sret
Let's go directly to the example
struct S {
double dummy1;
double dummy2;
};
S bar();
S foo() {
return bar();
}
This is the result of g++ -c -S -O2 (focus on the final `ret'):
__Z3foov:
LFB0:
pushl %ebp
LCFI0:
movl %esp, %ebp
LCFI1:
pushl %ebx
LCFI2:
subl $20, %esp
LCFI3:
movl 8(%ebp), %ebx
movl %ebx, (%esp)
call __Z3barv
pushl %eax
movl %ebx, %eax
movl -4(%ebp), %ebx
leave
ret $4
This is the result of cl -O2 -c -Fa (again, focus on the final `ret')
PUBLIC ?foo@@YA?AUS@@XZ ; foo
EXT...
2005 Mar 23
3
[PATCH] promised MMX patches rc1
Hello,
Here is my first speedup patch. Like 10-11%. No IDCT yet.
Please feel free to comment my code or even better think about
improvements. :) I belive my routines are not so bad, maybe
one day they will be even more faster.
What needs to be optimized is the loop filter fuction. I have
no ideas now how to do it. It does not leave much space for parallel
stuff, copying memory from lot of
2017 Jul 01
2
KNL Assembly Code for Matrix Multiplication
...t;> .globl multiply
>>>>> .p2align 4, 0x90
>>>>> .type multiply, at function
>>>>> multiply: # @multiply
>>>>> .cfi_startproc
>>>>> # BB#0:
>>>>> push rbp
>>>>> .Lcfi0:
>>>>> .cfi_def_cfa_offset 16
>>>>> push r15
>>>>> .Lcfi1:
>>>>> .cfi_def_cfa_offset 24
>>>>> push r14
>>>>> .Lcfi2:
>>>>> .cfi_def_cfa_offset 32
>>>>> push r12
>>>>&g...
2018 Feb 06
3
What does a dead register mean?
Hi,
My understanding of a "dead" register is a def that is never used. However,
when I dump the MI after reg alloc on a simple program I see the following
sequence:
ADJCALLSTACKDOWN64 0, 0, 0, *implicit-def dead %rsp*, implicit-def dead
%eflags, implicit-def dead %ssp, implicit %rsp, implicit %ssp
CALL64pcrel32 @foo, <regmask %bh %bl %bp %bpl %bx %ebp %ebx %rbp %rbx %r12
%r13 %r14
2017 Mar 07
4
[BUG Report] -dead_strip, strips prefix data unconditionally on macOS
Firstly, do you need "main.dsp" defined as an external symbol, or can all
external references go via "main"? If the answer is the latter, that will
make the solution simpler.
If only the latter, you will need to make a change to LLVM here:
http://llvm-cs.pcc.me.uk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp#650
Basically you would need to add a hook to the TargetLoweringObjectFile