search for: xuruobin

Displaying 8 results from an estimated 8 matches for "xuruobin".

2019 Jan 25
2
答复: How to add new arch for llvm-cov show?
...cked the code to make default branch return Triple::XXXX(only a temporary solution for the first point). Where should I place __llvm_prf_* sections? Is it ok to put them into .rodata section? Best, Ruobin 发件人: vsk at apple.com [mailto:vsk at apple.com] 代表 Vedant Kumar 发送时间: 2019年1月25日 3:14 收件人: xuruobin <xuruobin at huawei.com> 抄送: llvm-dev at lists.llvm.org; Yuchao (Michael) <michael.yuchao at huawei.com> 主题: Re: [llvm-dev] How to add new arch for llvm-cov show? On Jan 23, 2019, at 11:36 PM, xuruobin <xuruobin at huawei.com<mailto:xuruobin at huawei.com>> wrote: Hi ve...
2019 Jan 24
2
答复: 答复: How to add new arch for llvm-cov show?
...vm_prf_cnts, __llvm_prf_data and __llvm_prf_vnds inside .rodata section. Compiler checked .rodata but not things inside .rodata. What’s the right position to put these 4 __llvm_prf_* sections? Best, Ruobin. 发件人: vsk at apple.com [mailto:vsk at apple.com] 代表 Vedant Kumar 发送时间: 2019年1月24日 0:12 收件人: xuruobin <xuruobin at huawei.com> 抄送: vsk at apple.com; llvm-dev at lists.llvm.org; Yuchao (Michael) <michael.yuchao at huawei.com> 主题: Re: 答复: [llvm-dev] How to add new arch for llvm-cov show? On Jan 23, 2019, at 1:24 AM, xuruobin <xuruobin at huawei.com<mailto:xuruobin at huawei.com&gt...
2019 Jan 23
3
答复: How to add new arch for llvm-cov show?
...h I make some hacks to pass this checking, I still get other errors. So my problem is whether llvm-cov has to work with MCAssembler and is it possible to do it with binutils? Best, Ruobin > -----邮件原件----- > 发件人: vsk at apple.com [mailto:vsk at apple.com] > 发送时间: 2019年1月23日 1:24 > 收件人: xuruobin <xuruobin at huawei.com> > 抄送: llvm-dev at lists.llvm.org; Yuchao (Michael) > <michael.yuchao at huawei.com> > 主题: Re: [llvm-dev] How to add new arch for llvm-cov show? > > Hi Ruobin, > > > On Jan 21, 2019, at 5:21 PM, xuruobin via llvm-dev <llvm-dev at list...
2019 Jan 22
2
How to add new arch for llvm-cov show?
Hi all, I'm trying to support llvm-cov for a new architecture and I have successfully built compiler-rt for my arch. Following steps shown in https://clang.llvm.org/docs/SourceBasedCodeCoverage.html , I encountered an error for the last step(step of llvm-cov show). The command line was (supposed my arch is XXXX) "llvm-cov show -arch=XXXX ./foo -instr-profile=foo.profdata" and the
2018 Aug 13
2
Assembly mimatch between windows and linux llvm.(probably caused by sort algorithm)
To whom it may concern, I'm running some testcases(A and B) in Linux LLVM(built in Ubuntu16.04) and Windows LLVM(built by Visual Studio 2015), both of which were LLVM 4.0.0 and built with same source codes, but I got different assembly files(A_Linux != A_Windows, B_Linux = B_Windows). Privacy reasons prevent me from sharing my testcases here, sorry. I compared debug information and found the
2019 May 16
2
How data is laid out in default.profraw when doing profiling?
Hi all, I'm now working on llvm-cov for a new target and have a problem here. Because of some reasons, users do not stub in the main function and after running elf file, they cannot get a default profraw. Now they want to construct a default profraw manually but don't know how data is laid out in `default profraw` file. We found a struct ProfDataIOVec in InstrProfilingWriter.c in
2018 Dec 23
3
How to compile glibc with clang/llvm?
...supplement for some macros otherwise not possible with Clang. Even if you do get it to > build I think it may be a waste of time to try and just implement the missing symbols in your case (or figure out why > they're not being exported). > > Thanks. > > On 22/12/2018 09:29, xuruobin via llvm-dev wrote: >> To whom it may concern, >> >> Is there a way to build glibc with clang/llvm? I’m working on enabling llvm-cov for my compiler which is a totally new arch with a libc.a built from newlib. I successfully built compiler-rt but when I typed the command ` clang...
2018 Dec 22
3
How to compile glibc with clang/llvm?
To whom it may concern, Is there a way to build glibc with clang/llvm? I’m working on enabling llvm-cov for my compiler which is a totally new arch with a libc.a built from newlib. I successfully built compiler-rt but when I typed the command ` clang++ --target=xxx -fprofile-instr-generate -fcoverage-mapping foo.cc -o foo`, the linker failed because of undefined reference to