Displaying 4 results from an estimated 4 matches for "load_widen".
Did you mean:
load_video
2011 Dec 16
3
[LLVMdev] load widening conflicts with AddressSanitizer
Hello,
We've just got a bug report from Mozilla folks about AddressSanitizer false
positive with -O2.
Turns out there is a conflict between load widening and AddressSanitizer.
Simple reproducer:
% cat load_widening.c && echo ========= && clang -O2 -c
load_widening.c -flto && llvm-dis load_widening.o && cat
load_widening.o.ll
void init(char *);
int foo() {
char a[22];
init(a);
return a[16] + a[21];
}
=========
; ModuleID = 'load_widening.o'
target datalayout =...
2011 Dec 16
0
[LLVMdev] load widening conflicts with AddressSanitizer
On 12/16/11 12:24 PM, Kostya Serebryany wrote:
> Hello,
>
> We've just got a bug report from Mozilla folks about AddressSanitizer
> false positive with -O2.
> Turns out there is a conflict between load widening and AddressSanitizer.
>
> Simple reproducer:
> % cat load_widening.c&& echo =========&& clang -O2 -c load_widening.c -flto&& llvm-dis load_widening.o&& cat load_widening.o.ll
> void init(char *);
> int foo() {
> char a[22];
> init(a);
> return a[16] + a[21];
> }
> =========
> ; ModuleID = &...
2011 Dec 16
2
[LLVMdev] load widening conflicts with AddressSanitizer
...12/16/11 12:24 PM, Kostya Serebryany wrote:
>
> Hello,
>
> We've just got a bug report from Mozilla folks about AddressSanitizer false
> positive with -O2.
> Turns out there is a conflict between load widening and AddressSanitizer.
>
> Simple reproducer:
>
> % cat load_widening.c && echo ========= && clang -O2 -c load_widening.c
> -flto && llvm-dis load_widening.o && cat load_widening.o.ll
> void init(char *);
> int foo() {
> char a[22];
> init(a);
> return a[16] a[21];
> }
> =========
> ; ModuleID =...
2011 Dec 16
0
[LLVMdev] load widening conflicts with AddressSanitizer
...> > Hello,
> >
> > We've just got a bug report from Mozilla folks about AddressSanitizer
> false
> > positive with -O2.
> > Turns out there is a conflict between load widening and AddressSanitizer.
> >
> > Simple reproducer:
> >
> > % cat load_widening.c && echo ========= && clang -O2 -c
> load_widening.c
> > -flto && llvm-dis load_widening.o && cat load_widening.o.ll
> > void init(char *);
> > int foo() {
> > char a[22];
> > init(a);
> > return a[16] a[21];
>...