search for: carlokok

Displaying 20 results from an estimated 20 matches for "carlokok".

2017 Feb 21
3
[lld] elf linker creates undefined empty symbol
...library/executable I'm getting: LD_LIBRARY_PATH=. ./ConsoleApplication347 ./ConsoleApplication347: symbol lookup error: ./ConsoleApplication347: undefined symbol: (theres nothing after undefined symbol) How can I figure out what's I'm doing wrong? Full log: https://gist.github.com/carlokok/1dd510a16e1922271b520f1c00b14656 readelf -s for ConsoleApplication347: https://gist.github.com/carlokok/0950e4b33e0bf421852b3ac58fc18aea readelf -s for ClassLibrary22.so: https://gist.github.com/carlokok/109a03620abb95bdad6479426e3dce11 lld command line used: lld -flavor gnu -O0 --lto-O0 --eh-f...
2016 Oct 19
2
Assertion fail/crash in X86FrameLowering::GetFrameIndexReference SEH
...t crashes llvm. > > > On 2016-10-17 18:02, Carlo Kok via llvm-dev wrote: > >> Hi, >> >> I'm gettign an assertion fail/crash in >> X86FrameLowering::GetFrameIndexReference when compiling the following >> bitcode: >> >> https://gist.github.com/carlokok/868cddebeb9acc8ccbac6253de0480b0 >> >> I tried removing the llvm.frameaddres calls but that's not it, where can >> I start looking for what my mistake here is? Code seems to verify just >> fine. >> >> >> ; #0 0x00e1afe8 llvm::X86FrameLowering::getFrameI...
2017 Apr 26
2
no-frame-pointer-elim & optimized
Hi, I have a function with: attributes #2 = { "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" } Yet when compiling it generates: https://gist.github.com/carlokok/7c3c98d2fd8c966671f40a5ad94f19d3 (Note how it checks fFinalizer before setting up ebp). It also has a: .loc 36 195 7 prologue_end before this happens How can I get llvm to do the frame setup before prologue init (so debuggers know what is going on)? And if not, how can a debugger know where the...
2016 Oct 17
2
Assertion fail/crash in X86FrameLowering::GetFrameIndexReference SEH
Hi, I'm gettign an assertion fail/crash in X86FrameLowering::GetFrameIndexReference when compiling the following bitcode: https://gist.github.com/carlokok/868cddebeb9acc8ccbac6253de0480b0 I tried removing the llvm.frameaddres calls but that's not it, where can I start looking for what my mistake here is? Code seems to verify just fine. ; #0 0x00e1afe8 llvm::X86FrameLowering::getFrameIndexReference(class llvm::MachineFunction const &,int,...
2017 Sep 18
5
Interleaved debug info on arm
..., !dbg !75 %13 = sitofp i32 1 to double, !dbg !75 %14 = fadd double %12, %13, !dbg !75 store double %14, double* %3, !dbg !75 ret void, !dbg !76 } !72 = !DILocation(line: 22, column: 11, scope: !65) !73 = !DILocation(line: 25, column: 7, scope: !65) full bitcode: https://gist.github.com/carlokok/aa3fab175f8afe8e4776ad6c2f5cc80a disasm: https://gist.github.com/carlokok/ab265461b37f87a10e0853ffc4d93c77 What could possibly cause this? It's wreaking havoc with the debugger experience. Carlo Kok RemObjects Software
2019 May 08
2
taskpool exhaustion in lld/wasm
On a 12" MacBook (2017) with 2 cores I get lld/wasm to be stuck in: https://gist.githubusercontent.com/carlokok/1a14e7ed3dbbd54511e1f0b3a7d684ff/raw/19267560b584ca42cc66f44f508df5b34102d803/thread%2520for%2520waiting It seems the outer for loop exhausts the thread pool, and the inner ones trigger a new parallel for which never finishes because the pool is full. Is this a bug or am I missing something obviou...
2018 Apr 03
2
llvm.localsescape/recover
...add a struct with 3 doubles alloca in it and localsescape those too: %3 = alloca %threedoubles store %threedoubles zeroinitializer, %threedoubles* %3 call void (...) @llvm.localescape(i8** %1, i32* %2, %threedoubles* %3) I get a different value (full testcase here) https://gist.github.com/carlokok/e1c9aef9c8a382afdb280385a422f913 What am I doing wrong here?
2019 May 08
2
taskpool exhaustion in lld/wasm
...ect files or sections, whatever it's iterating over). > > On Wed, May 8, 2019, 7:25 AM Carlo Kok via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> On a 12" MacBook (2017) with 2 cores I get lld/wasm to be stuck in: >> >> https://gist.githubusercontent.com/carlokok/1a14e7ed3dbbd54511e1f0b3a7d684ff/raw/19267560b584ca42cc66f44f508df5b34102d803/thread%2520for%2520waiting >> >> It seems the outer for loop exhausts the thread pool, and the inner ones trigger a new parallel for which never finishes because the pool is full. Is this a bug or am I missi...
2016 Dec 22
2
debug info "ref" parameter
...special behavior when it sees an alloca. Here's a simplified version, works on i386 windows and linux (most likely 64bits too but i don't have that handy to test) in gdb a break Test1; break Test2; run; step; locals (fine for Test1); run; step; (broken for Test2) https://gist.github.com/carlokok/202961f81bbcf1a28139eae1d6fbf1ca -- Carlo Kok RemObjects Software
2018 Jan 11
3
wasm: Bad codegen for i8 comparison
....and $3=, $0, $2 i32.const $5=, 255 i32.and $6=, $4, $5 i32.gt_s $7=, $3, $6 Which essentially does (arg & 0xff) > (0xff & 0xff) (if I read it correctly) and seems to always result in false. Full testcase: https://gist.github.com/carlokok/579b7793465cd0299cf4c609c569f559
2018 Apr 03
0
llvm.localsescape/recover
...t and > localsescape those too: > > %3 = alloca %threedoubles > store %threedoubles zeroinitializer, %threedoubles* %3 > call void (...) @llvm.localescape(i8** %1, i32* %2, %threedoubles* %3) > > I get a different value (full testcase here) > > https://gist.github.com/carlokok/e1c9aef9c8a382afdb280385a422f913 > > What am I doing wrong here? > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > -------------- next part -------------- An...
2016 Dec 22
0
debug info "ref" parameter
...there's a lot to be gained - I imagine it is just a quirk of how we handle these things in the backend to make normal debug info work, but there might be some things to be done to help. On Wed, Dec 21, 2016 at 2:31 PM Carlo Kok <ck at remobjects.com> wrote: > https://gist.github.com/carlokok/77010598f81e8167592e593ec6c715a1 > > If needed I can strip it down more tomorrow, but only elements entry point > and the two meh methods are used. > > > On December 21, 2016 8:27:12 PM GMT+01:00, David Blaikie < > dblaikie at gmail.com> wrote: > > Could you provide...
2016 Dec 22
0
debug info "ref" parameter
...ees an alloca. > Here's a simplified version, works on i386 windows and linux (most > likely 64bits too but i don't have that handy to test) > > in gdb a break Test1; break Test2; run; step; locals (fine for Test1); > run; step; (broken for Test2) > https://gist.github.com/carlokok/202961f81bbcf1a28139eae1d6fbf1ca > > -- > Carlo Kok > RemObjects Software > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161222/66485b57/attachment.html>
2018 Mar 14
3
lld/lto/win32 crash on DIE code
...s://www.dropbox.com/s/ugv9sfqouhlszff/repro.tar?dl=0 With lld /lldsavetemps I managed to narrow down what it actually fails on, specifcally from the Island.Tests.Windows.exe.0.5.precodegen.bc (which fails too when passed to llc -O1) This is the pattern that it generates: https://gist.github.com/carlokok/fb0f1bf213ee4599d8f2442e37b23f03 If I read this correctly it somehow ends up using two compile units at once from the same type and failing because of that. I don't know if that's a merging bug or something I'm doing, but none of my input bc files has more than 1 compileunit per fil...
2016 Dec 21
2
debug info "ref" parameter
https://gist.github.com/carlokok/77010598f81e8167592e593ec6c715a1 If needed I can strip it down more tomorrow, but only elements entry point and the two meh methods are used. On December 21, 2016 8:27:12 PM GMT+01:00, David Blaikie <dblaikie at gmail.com> wrote: >Could you provide the complete example (with all the nece...
2018 Mar 16
0
lld/lto/win32 crash on DIE code
...tps://www.dropbox.com/s/ugv9sfqouhlszff/repro.tar?dl=0 With lld /lldsavetemps I managed to narrow down what it actually fails on, specifcally from the Island.Tests.Windows.exe.0.5.precodegen.bc (which fails too when passed to llc -O1) This is the pattern that it generates: https://gist.github.com/carlokok/fb0f1bf213ee4599d8f2442e37b23f03 If I read this correctly it somehow ends up using two compile units at once from the same type and failing because of that. I don't know if that's a merging bug or something I'm doing, but none of my input bc files has more than 1 compileunit per file,...
2013 Aug 30
1
[LLVMdev] buildbot failure in LLVM on clang-amd64-openbsd
...L: http://lab.llvm.org:8011/ > > Buildslave for this Build: openbsd-buildslave > > Build Reason: scheduler > Build Source Stamp: [branch trunk] 189664 > Blamelist: aaronballman,ab,adibiagio,adrian,ahatanak,ajbernal,akaylor,akirtzidis,alexfh,arnolds,arsenm,atrick,ayartsev,bwilson,carlokok,cdavis,chandlerc,chapuni,compnerd,ctopper,d0k,daenzer,dblaikie,ddunbar,delena,delesley,dgregor,dirty,djasper,dsanders,dvyukov,echristo,efriedma,enderby,enea,eugenis,faisalv,fangism,filcab,fjahanian,gribozavr,grosbach,hanm,hans,haoliu,hfinkel,jacksprat,jdennett,jholewinski,jimcownie,joerg,joey,jrose...
2018 Jan 11
0
wasm: Bad codegen for i8 comparison
...32.const $5=, 255 > i32.and $6=, $4, $5 > i32.gt_s $7=, $3, $6 > > Which essentially does (arg & 0xff) > (0xff & 0xff) (if I read it > correctly) and seems to always result in false. > > Full testcase: > https://gist.github.com/carlokok/579b7793465cd0299cf4c609c569f559 > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: &...
2018 Apr 04
2
llvm.localsescape/recover
...>>   %3 = alloca %threedoubles >>  store %threedoubles zeroinitializer, %threedoubles* %3 >>  call void (...) @llvm.localescape(i8** %1, i32* %2, %threedoubles* %3) >> >> I get a different value (full testcase here) >> >> https://gist.github.com/carlokok/e1c9aef9c8a382afdb280385a422f913 >> >> What am I doing wrong here? >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
2016 Dec 21
0
debug info "ref" parameter
Could you provide the complete example (with all the necessary metadata to reproduce)? Possible LLVM has a special case for arguments, I'm not sure/don't recall off hand, but can poke around at it & see if there's a reasonable logic to it. On Tue, Dec 20, 2016 at 10:43 PM Carlo Kok via llvm-dev < llvm-dev at lists.llvm.org> wrote: > I want to emit a ref parameter (ie