search for: toshi

Displaying 20 results from an estimated 23 matches for "toshi".

Did you mean: joshi
2017 Mar 09
2
LLVMGetBitcodeModuleInContext2 problem
Oops, missed initializing some stuff. Added: LLVMLinkInMCJIT(); LLVMInitializeNativeTarget(); LLVMInitializeNativeAsmPrinter(); LLVMInitializeNativeAsmParser(); Now it crashes in LLVMGetFunctionAddress(). Hmm. On Wed, Mar 8, 2017 at 5:14 PM, Toshiyasu Morita <toshi at tensyr.com> wrote: > Made it a bit further. Here's the current code: > > void llvm_load_IR_library(char *path) > { > char *error; > LLVMExecutionEngineRef engine; > object0_t* (*func)(void), *output; > LLVMConte...
2017 Mar 08
2
LLVMGetBitcodeModuleInContext2 problem
...before calling LLVMGetBitcodeModuleInContext2? > Yes, you need to load the module into memory first. > LLVMCreateMemoryBufferWithContentsOfFile will do that for you. Thanks! On Wed, Mar 8, 2017 at 3:48 PM, Friedman, Eli <efriedma at codeaurora.org> wrote: > On 3/8/2017 3:44 PM, Toshiyasu Morita wrote: > > >> module_path = LLVMCreateMemoryBufferWithMemoryRange(path, >> strlen(path), "path", 1); >> > > LLVMCreateMemoryBufferWithContentsOfFile takes a path. > > Erm...no...the code is calling LLVMCreateMemoryBufferWithMemoryRang...
2017 May 02
2
LLVM module attributes question
...ot;target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } Am I correct in assuming these are actually called flags, and they're accessed using Module::getModuleFlag() and Module::addModuleFlag()? Toshi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170502/50f18580/attachment.html>
2017 Apr 28
2
LLVMGetFirstFunction() / LLVMGetNextFunction( ) problem
...p(mem_region_anchor, func_addr))) { symbol_table_add(symbol_table, "dummy_symbol", func_addr + size); } (gdb) 154 for (func = first_func; func != last_func; func = LLVMGetNextFunction(func)) { (gdb) 168 symbol_table_calc_symbol_sizes(symbol_table); Any suggestions appreciated. Toshi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170428/ad81436e/attachment.html>
2017 Mar 08
2
LLVMGetBitcodeModuleInContext2 problem
...e. if (Stream.Read(8) != 'B' || Stream.Read(8) != 'C' || Stream.Read(4) != 0x0 || Stream.Read(4) != 0xC || Stream.Read(4) != 0xE || Stream.Read(4) != 0xD) return false; return true; } I'm out of ideas. Anything obvious I'm doing wrong? Toshi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170308/f4250a0d/attachment.html>
2017 Jan 26
2
mcjit C interface problems
...;, (int)LLVMGenericValueToInt(args[0], 0)); printf("args[1]: %d\n", (int)LLVMGenericValueToInt(args[1], 0)); uint64_t (*func)(); func = (uint64_t (*)())LLVMGetFunctionAddress(engine, "sum"); printf("result: %lu\n", (*func)()); Anything else I should look at? Toshi On Wed, Jan 25, 2017 at 5:20 PM, Andres Freund <andres at anarazel.de> wrote: > Hi, > > On 2017-01-25 15:17:04 -0800, Toshiyasu Morita via llvm-dev wrote: > > long long x = strtoll(argv[1], NULL, 10); > > long long y = strtoll(argv[2], NULL, 10); > > > &g...
2017 Jan 25
2
mcjit C interface problems
...9;my_module' source_filename = "my_module" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define i32 @sum(i32, i32) { entry: %tmp = add i32 %0, %1 ret i32 %tmp } It seems to fail to add, and always returns the first argument. Any help greatly appreciated. Toshi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170125/b2b8709f/attachment.html>
2016 May 03
0
[PATCH 4.5 160/200] x86/mm/kmmio: Fix mmiotrace for hugepages
...s Vlasenko <dvlasenk at redhat.com> Cc: H. Peter Anvin <hpa at zytor.com> Cc: Linus Torvalds <torvalds at linux-foundation.org> Cc: Luis R. Rodriguez <mcgrof at suse.com> Cc: Peter Zijlstra <peterz at infradead.org> Cc: Thomas Gleixner <tglx at linutronix.de> Cc: Toshi Kani <toshi.kani at hp.com> Cc: linux-mm at kvack.org Cc: linux-x86_64 at vger.kernel.org Cc: nouveau at lists.freedesktop.org Cc: pq at iki.fi Cc: rostedt at goodmis.org Link: http://lkml.kernel.org/r/1456966991-6861-1-git-send-email-nouveau at karolherbst.de Signed-off-by: Ingo Molnar <m...
2016 May 03
0
[PATCH 4.4 137/163] x86/mm/kmmio: Fix mmiotrace for hugepages
...s Vlasenko <dvlasenk at redhat.com> Cc: H. Peter Anvin <hpa at zytor.com> Cc: Linus Torvalds <torvalds at linux-foundation.org> Cc: Luis R. Rodriguez <mcgrof at suse.com> Cc: Peter Zijlstra <peterz at infradead.org> Cc: Thomas Gleixner <tglx at linutronix.de> Cc: Toshi Kani <toshi.kani at hp.com> Cc: linux-mm at kvack.org Cc: linux-x86_64 at vger.kernel.org Cc: nouveau at lists.freedesktop.org Cc: pq at iki.fi Cc: rostedt at goodmis.org Link: http://lkml.kernel.org/r/1456966991-6861-1-git-send-email-nouveau at karolherbst.de Signed-off-by: Ingo Molnar <m...
2016 Jul 12
0
[added to the 4.1 stable tree] x86/mm/kmmio: Fix mmiotrace for hugepages
...s Vlasenko <dvlasenk at redhat.com> Cc: H. Peter Anvin <hpa at zytor.com> Cc: Linus Torvalds <torvalds at linux-foundation.org> Cc: Luis R. Rodriguez <mcgrof at suse.com> Cc: Peter Zijlstra <peterz at infradead.org> Cc: Thomas Gleixner <tglx at linutronix.de> Cc: Toshi Kani <toshi.kani at hp.com> Cc: linux-mm at kvack.org Cc: linux-x86_64 at vger.kernel.org Cc: nouveau at lists.freedesktop.org Cc: pq at iki.fi Cc: rostedt at goodmis.org Link: http://lkml.kernel.org/r/1456966991-6861-1-git-send-email-nouveau at karolherbst.de Signed-off-by: Ingo Molnar <m...
2016 Jul 12
0
[added to the 3.18 stable tree] x86/mm/kmmio: Fix mmiotrace for hugepages
...s Vlasenko <dvlasenk at redhat.com> Cc: H. Peter Anvin <hpa at zytor.com> Cc: Linus Torvalds <torvalds at linux-foundation.org> Cc: Luis R. Rodriguez <mcgrof at suse.com> Cc: Peter Zijlstra <peterz at infradead.org> Cc: Thomas Gleixner <tglx at linutronix.de> Cc: Toshi Kani <toshi.kani at hp.com> Cc: linux-mm at kvack.org Cc: linux-x86_64 at vger.kernel.org Cc: nouveau at lists.freedesktop.org Cc: pq at iki.fi Cc: rostedt at goodmis.org Link: http://lkml.kernel.org/r/1456966991-6861-1-git-send-email-nouveau at karolherbst.de Signed-off-by: Ingo Molnar <m...
2003 Jan 02
1
apparent w2ksp3 problem
...achines/shares on clients but clients cannot see machines/shares on server workgroup/domain: golgerth no router server: rpms: kernel 2.4.18.19.8.0 net-snmp 5.0.6.8.80.2.i386 samba 2.2.5 xinetd 2.3.7.5.i386 torvalds - 192.168.100.3 clients: pubert - 192.168.100.1 pebbles - 192.168.100.2 toshie - 192.168.100.4 all: w2kp3, client for microsoft networks, file and printer sharing, Netbui, tcp/ip (mask 255.255.255.0, dns blank, wins blank and enable lmhosts lookup and netbios over tcp/ip), hosts and lmhosts accurate all machines have same user names and passwords smb.conf: # Samba...
2017 Mar 08
2
LLVMGetBitcodeModuleInContext2 problem
...t;path", 1); > LLVMCreateMemoryBufferWithContentsOfFile takes a path. Erm...no...the code is calling LLVMCreateMemoryBufferWithMemoryRange, not LLVMCreateMemoryBufferWithContentsOfFile... Or do you mean I need to load the module into memory before calling LLVMGetBitcodeModuleInContext2? Toshi On Wed, Mar 8, 2017 at 3:40 PM, Friedman, Eli <efriedma at codeaurora.org> wrote: > On 3/8/2017 3:29 PM, Toshiyasu Morita via llvm-dev wrote: > >> >> I'm trying to use LLVMGetBitcodeModuleInContext2 to load a .bc file. >> However, it's not working. >>...
2013 May 21
1
Failed to authenticate device "Ext 110"
...s being registered: PBX*CLI> sip show peers Name/username Host Dyn Forcerport ACL Port Status Description 110/110 10.8.0.6 D A 5062 OK (111 ms) Yealink OpenVPN Also, if there is voicemail in the mailbox for 110, the phone's message light is lit and it beeps periodically. toshi*CLI> sip show peer 110 * Name : 110 Description : Yealink OpenVPN Secret : <Set> MD5Secret : <Not set> Remote Secret: <Not set> Context : remote-phones Record On feature : automon Record Off feature : automon Subscr.Cont. : <Not set&g...
2013 Mar 18
0
[linux-linus test] 17325: regressions - trouble: broken/fail/pass
...Hiro Sugawara <hsugawara@nvidia.com> Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> Hiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com> Hiroshi DOYU <hdoyu@nvidia.com> Hiroshi DOYU <hdoyu@nvidia.com> # (parts) Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Hitoshi Mitake <h.mitake@gmail.com> Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Hitoshi Nakamori <hitoshi.nakamori@gmail.com> Hitoshi NAKAMORI<hitoshi.nakamori@gmail.com> Hoang-Nam Nguyen <hnguyen@de.ibm.com> Hojung Youn <amoc.yn@gmail.com> Holger Brunck &l...
2013 Mar 29
0
[linux-linus test] 17454: regressions - FAIL
...Hiro Sugawara <hsugawara@nvidia.com> Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> Hiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com> Hiroshi DOYU <hdoyu@nvidia.com> Hiroshi DOYU <hdoyu@nvidia.com> # (parts) Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Hitoshi Mitake <h.mitake@gmail.com> Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Hitoshi Nakamori <hitoshi.nakamori@gmail.com> Hitoshi NAKAMORI<hitoshi.nakamori@gmail.com> Hoang-Nam Nguyen <hnguyen@de.ibm.com> Hojung Youn <amoc.yn@gmail.com> Holger Brunck &l...
2013 Apr 10
0
[linux-linus test] 17612: regressions - FAIL
...Hiro Sugawara <hsugawara@nvidia.com> Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> Hiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com> Hiroshi DOYU <hdoyu@nvidia.com> Hiroshi DOYU <hdoyu@nvidia.com> # (parts) Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Hitoshi Mitake <h.mitake@gmail.com> Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Hitoshi Nakamori <hitoshi.nakamori@gmail.com> Hitoshi NAKAMORI<hitoshi.nakamori@gmail.com> Hoang-Nam Nguyen <hnguyen@de.ibm.com> Hojung Youn <amoc.yn@gmail.com> Holger Brunck &l...
2013 May 05
0
[linux-linus test] 17901: regressions - FAIL
...Hirokazu Takahashi <taka@valinux.co.jp> Hirokazu Takata <takata@linux-m32r.org> Hiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com> Hiroshi DOYU <hdoyu@nvidia.com> Hiroshi DOYU <hdoyu@nvidia.com> # (parts) Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Hitoshi Mitake <h.mitake@gmail.com> Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Hitoshi Nakamori <hitoshi.nakamori@gmail.com> Hitoshi NAKAMORI<hitoshi.nakamori@gmail.com> Hoang-Nam Nguyen <hnguyen@de.ibm.com> Hojung Youn <amoc.yn@gmail.com> Holger Brunck &l...
2013 May 07
0
[linux-linus test] 17916: regressions - FAIL
...Hirokazu Takahashi <taka@valinux.co.jp> Hirokazu Takata <takata@linux-m32r.org> Hiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com> Hiroshi DOYU <hdoyu@nvidia.com> Hiroshi DOYU <hdoyu@nvidia.com> # (parts) Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Hitoshi Mitake <h.mitake@gmail.com> Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Hitoshi Nakamori <hitoshi.nakamori@gmail.com> Hitoshi NAKAMORI<hitoshi.nakamori@gmail.com> Hoang-Nam Nguyen <hnguyen@de.ibm.com> Hojung Youn <amoc.yn@gmail.com> Holger Brunck &l...
2013 Jun 16
0
[linux-linus test] 18150: regressions - FAIL
...Hirokazu Takahashi <taka@valinux.co.jp> Hirokazu Takata <takata@linux-m32r.org> Hiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com> Hiroshi DOYU <hdoyu@nvidia.com> Hiroshi DOYU <hdoyu@nvidia.com> # (parts) Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Hitoshi Mitake <h.mitake@gmail.com> Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Hitoshi Nakamori <hitoshi.nakamori@gmail.com> Hitoshi NAKAMORI<hitoshi.nakamori@gmail.com> Hoang-Nam Nguyen <hnguyen@de.ibm.com> Hojung Youn <amoc.yn@gmail.com> Holger Brunck &l...