search for: coveragemap

Displaying 12 results from an estimated 12 matches for "coveragemap".

Did you mean: coverage_op
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
As of r313998, this workflow no longer works: cd <build-dir> ./bin/llvm-lit <src>/llvm/tools/clang/test/CoverageMapping I get: llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py:97: note: using clang: '/Volumes/Builds/llvm.org-coverage-braces-RA/bin/clang' llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/lit/TestingConfig.py:101: fatal: unable to parse conf...
2019 May 16
2
How data is laid out in default.profraw when doing profiling?
...eof(uint8_t), Padding}}; ``` This helped us successfully passed some small cases(not know for sure whether the coverage result is true, but we can see coverage report). But when we added more cases, `llvm-cov show -arch=xxx ...` gave us an assertion when entering fuction ` loadFunctionRecord ` in CoverageMapping.cpp. The OrigFuncName is empty when inserting into FunctionNames. Seems the llvm-cov cannot find a function name. I think it's because we didn't construct a correct default.profraw. So how data is laid out in default.profraw when doing profiling? Any help will be appreciated. A small...
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
...m> wrote: > Looking, thanks for the report. > > On Fri, Sep 22, 2017 at 11:22 AM Vedant Kumar <vsk at apple.com> wrote: > >> As of r313998, this workflow no longer works: >> >> cd <build-dir> >> ./bin/llvm-lit <src>/llvm/tools/clang/test/CoverageMapping >> >> I get: >> >> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/ >> lit.cfg.py:97: note: using clang: '/Volumes/Builds/llvm.org >> -coverage-braces-RA/bin/clang' >> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/...
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
Looking, thanks for the report. On Fri, Sep 22, 2017 at 11:22 AM Vedant Kumar <vsk at apple.com> wrote: > As of r313998, this workflow no longer works: > > cd <build-dir> > ./bin/llvm-lit <src>/llvm/tools/clang/test/CoverageMapping > > I get: > > llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/ > lit.cfg.py:97: note: using clang: '/Volumes/Builds/llvm.org > -coverage-braces-RA/bin/clang' > llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/lit/TestingConfig....
2017 Sep 22
2
No longer able to run lit tests within a sub-tool
...ote: >> Looking, thanks for the report. >> >> On Fri, Sep 22, 2017 at 11:22 AM Vedant Kumar <vsk at apple.com> wrote: >> As of r313998, this workflow no longer works: >> >> cd <build-dir> >> ./bin/llvm-lit <src>/llvm/tools/clang/test/CoverageMapping >> >> I get: >> >> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/lit.cfg.py:97: note: using clang: '/Volumes/Builds/llvm.org-coverage-braces-RA/bin/clang' >> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/utils/lit/lit/Test...
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
...> Looking, thanks for the report. > > On Fri, Sep 22, 2017 at 11:22 AM Vedant Kumar <vsk at apple.com <mailto:vsk at apple.com>> wrote: > As of r313998, this workflow no longer works: > > cd <build-dir> > ./bin/llvm-lit <src>/llvm/tools/clang/test/CoverageMapping > > I get: > > llvm-lit: /Users/vk/src/llvm.org <http://llvm.org/>-coverage-braces/llvm/tools/clang/test/lit.cfg.py:97 <http://lit.cfg.py:97/>: note: using clang: '/Volumes/Builds/llvm.org <http://llvm.org/>-coverage-braces-RA/bin/clang' > llvm-lit: /U...
2017 Sep 22
0
No longer able to run lit tests within a sub-tool
...s for the report. > >> > >> On Fri, Sep 22, 2017 at 11:22 AM Vedant Kumar <vsk at apple.com> wrote: > >> As of r313998, this workflow no longer works: > >> > >> cd <build-dir> > >> ./bin/llvm-lit <src>/llvm/tools/clang/test/CoverageMapping > >> > >> I get: > >> > >> llvm-lit: /Users/vk/src/llvm.org-coverage-braces/llvm/tools/clang/test/ > lit.cfg.py:97: note: using clang: > '/Volumes/Builds/llvm.org-coverage-braces-RA/bin/clang' > >> llvm-lit: > /Users/vk/src/llvm.org-...
2019 Jan 25
2
答复: How to add new arch for llvm-cov show?
...()->e_machine, Type);”. But I think it makes sense ELF file reader get nothing because my compiler doesn’t write these information. It seems I have to find somewhere(maybe an ELF file writer) to write e_machine so my reader will read this. But I have no idea where to write it now. 2. In CoverageMapping.cpp, there is a checking “OF->getArch() != Triple(Arch).getArch()” and it makes an error if not equal. “OF->getArch” will go into a switch/case and the code enters the default branch which returns an UnknownArch. I hacked the code to make default branch return Triple::XXXX(only a temporar...
2016 Apr 18
5
Move InlineCost.cpp out of Analysis?
> On Apr 18, 2016, at 2:07 PM, Hal Finkel via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > ----- Original Message ----- >> From: "Easwaran Raman" <eraman at google.com> >> To: "via llvm-dev" <llvm-dev at lists.llvm.org> >> Cc: "Chandler Carruth" <chandlerc at gmail.com>, "Hal Finkel" <hfinkel at
2019 Jan 24
2
答复: 答复: How to add new arch for llvm-cov show?
...ols/obj2yaml/elf2yaml.cpp(GDB stopped only at the former one when using x86_64 llvm-cov so I thought it was MC provide this e_machine information to compiler). 2. New error was “Failed to load coverage: No coverage data found” since the compiler cannot get NamesSection(at loadBinaryFormat in CoverageMappingReader.cpp). I thought it was my ldscript problem because I put __llvm_prf_names, __llvm_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. 发...
2019 Apr 30
6
Disk space and RAM requirements in docs
...est/Index/Output/comment-custom-block-command.cpp.tmp 256K build/utils/not/CMakeFiles/not.dir 252K build/tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/imath 252K build/tools/clang/test/Modules/Output/macros.c.tmp/3K8X5FQSVUXUN 248K build/tools/clang/test/CXX/class 248K build/tools/clang/test/CoverageMapping 248K build/examples/Kaleidoscope 244K build/tools/clang/test/PCH/Output/modified-module-dependency.m.tmp-dir 244K build/tools/clang/test/CoverageMapping/Output 240K build/tools/clang/test/CXX/dcl.dcl/dcl.spec 232K build/tools/clang/test/PCH/Output/headersearch.cpp.tmp_orig 232K build/tools/clan...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...ild llvm[2]: Compiling MCObjectFileInfo.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolExe.cpp for Release+Asserts build make[2]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/lib/ProfileData' llvm[3]: Compiling PDBSymbolFunc.cpp for Release+Asserts build llvm[2]: Compiling CoverageMapping.cpp for Release+Asserts build llvm[2]: Compiling MCObjectStreamer.cpp for Release+Asserts build llvm[2]: Compiling MachineBlockPlacement.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolFuncDebugEnd.cpp for Release+Asserts build llvm[2]: Compiling MCObjectWriter.cpp for Release+Asserts...