Displaying 20 results from an estimated 37 matches for "gcno".
2015 Apr 28
4
[LLVMdev] GCC compatibility code coverage issue .
...trying to use clang+llvm to generate the gcc coverage format as
clang version 3.6.0
$clang --coverage -Xclang -coverage-cfg-checksum -Xclang
-coverage-no-function-names-in-data -Xclang -coverage-version='407*'
test.c
$a.out
$llvm-cov gcov test.gcda
Unexpected version: *704.
Invalid .gcno File!
Debugging the above cause ,But any hints from experts here ,will help a lot .
Appreciate your time ,Thank you
~Umesh
2014 Feb 21
6
[LLVMdev] make check issue with llvm-cov
...* .
/home/rkotler/caviumllvm/build/Debug+Asserts/bin/llvm-cov test.c | diff
-u test_no_options.output -
diff -aub test_no_options.cpp.gcov test.cpp.gcov
diff -aub test_no_options.h.gcov test.h.gcov
mkdir -p
/home/rkotler/caviumllvm/build/test/tools/llvm-cov/Output/llvm-cov.test.tmp/objdir
cp test.gcno test.gcda
/home/rkotler/caviumllvm/build/test/tools/llvm-cov/Output/llvm-cov.test.tmp/objdir
/home/rkotler/caviumllvm/build/Debug+Asserts/bin/llvm-cov -o objdir
test.c | diff -u test_no_options.output -
diff -aub test_objdir.cpp.gcov test.cpp.gcov
diff -aub test_objdir.h.gcov test.h.gcov
/home/rk...
2019 Nov 04
4
Debugging clang with debugger breakpoints ?
...uot;-mconstructor-aliases" "-nostdsysteminc" "-dwarf-column-info" "-debugger-tuning=gdb" "-target-linker-version" "305" "-momit-leaf-frame-pointer" "-coverage-notes-file" "/Users/joan/Documents-Local/Relay/RelayNou/main.gcno" "-resource-dir" "/Users/joan/LLVM-9/llvm-project/build/Debug/lib/clang/9.0.1" "-internal-isystem" "/Users/joan/LLVM-9/llvm-project/build/Debug/bin/../msp430/include" "-Oz" "-fdebug-compilation-dir" "/Users/joan/Documents-Local/R...
2014 Feb 21
3
[LLVMdev] make check issue with llvm-cov
...e, the file test.c does not even exist (it is called test.cpp)
>>> This should probably be test.o, rather than test.c or test.cpp, but the
>>> interface to llvm-cov is compatible with gcov, which completely ignores the
>>> file given as an argument other than to base the .gcno and .gcno file names
>>> on it.
>>>
>>>> And in the test file there is a line:
>>>> XFAIL: powerpc64, s390x, mips, sparc
>>> This is a crude attempt at "XFAIL: big-endian". The mips entry here is just
>>> wrong if the system is...
2014 Feb 21
3
[LLVMdev] make check issue with llvm-cov
...> > For one, the file test.c does not even exist (it is called test.cpp)
>
> This should probably be test.o, rather than test.c or test.cpp, but the
> interface to llvm-cov is compatible with gcov, which completely ignores the
> file given as an argument other than to base the .gcno and .gcno file names
> on it.
>
> > And in the test file there is a line:
> > XFAIL: powerpc64, s390x, mips, sparc
>
> This is a crude attempt at "XFAIL: big-endian". The mips entry here is just
> wrong if the system is little-endian - the test passes on littl...
2019 Nov 04
2
Debugging clang with debugger breakpoints ?
...uot;-mconstructor-aliases" "-nostdsysteminc" "-dwarf-column-info" "-debugger-tuning=gdb" "-target-linker-version" "305" "-momit-leaf-frame-pointer" "-coverage-notes-file" "/Users/joan/Documents-Local/Relay/RelayNou/main.gcno" "-resource-dir" "/Users/joan/LLVM-9/llvm-project/build/Debug/lib/clang/9.0.1" "-internal-isystem" "/Users/joan/LLVM-9/llvm-project/build/Debug/bin/../msp430/include" "-Oz" "-fdebug-compilation-dir" "/Users/joan/Documents-Local/R...
2019 Nov 04
2
Debugging clang with debugger breakpoints ?
...uot;-mconstructor-aliases" "-nostdsysteminc" "-dwarf-column-info" "-debugger-tuning=gdb" "-target-linker-version" "305" "-momit-leaf-frame-pointer" "-coverage-notes-file" "/Users/joan/Documents-Local/Relay/RelayNou/main.gcno" "-resource-dir" "/Users/joan/LLVM-9/llvm-project/build/Debug/lib/clang/9.0.1" "-internal-isystem" "/Users/joan/LLVM-9/llvm-project/build/Debug/bin/../msp430/include" "-Oz" "-fdebug-compilation-dir" "/Users/joan/Documents-Local/R...
2015 May 22
2
[LLVMdev] GCC compatibility code coverage issue .
...overage -Xclang
>> >> -coverage-cfg-checksum -Xclang -coverage-no-function-names-in-data
>> >> test.c
>> >> bash-4.1$ ./a.out
>> >> bash-4.1$ llvm-cov gcov test.c
>> >> Unexpected end of memory buffer: 386832052.
>> >> Invalid .gcno File!
>> >>
>> >> bash-4.1$ clang -v
>> >> clang version 3.6.0 (tags/RELEASE_360/final)
>> >> Target: x86_64-unknown-linux-gnu
>> >> Thread model: posix
>> >>
>> >> Thank you
>> >> ~Umesh
>> >&g...
2019 Nov 04
2
Debugging clang with debugger breakpoints ?
...uot;-mconstructor-aliases" "-nostdsysteminc" "-dwarf-column-info" "-debugger-tuning=gdb" "-target-linker-version" "305" "-momit-leaf-frame-pointer" "-coverage-notes-file" "/Users/joan/Documents-Local/Relay/RelayNou/main.gcno" "-resource-dir" "/Users/joan/LLVM-9/llvm-project/build/Debug/lib/clang/9.0.1" "-internal-isystem" "/Users/joan/LLVM-9/llvm-project/build/Debug/bin/../msp430/include" "-Oz" "-fdebug-compilation-dir" "/Users/joan/Documents-Local/R...
2015 May 27
0
[LLVMdev] GCC compatibility code coverage issue .
...> >> -coverage-cfg-checksum -Xclang -coverage-no-function-names-in-data
>>> >> test.c
>>> >> bash-4.1$ ./a.out
>>> >> bash-4.1$ llvm-cov gcov test.c
>>> >> Unexpected end of memory buffer: 386832052.
>>> >> Invalid .gcno File!
>>> >>
>>> >> bash-4.1$ clang -v
>>> >> clang version 3.6.0 (tags/RELEASE_360/final)
>>> >> Target: x86_64-unknown-linux-gnu
>>> >> Thread model: posix
>>> >>
>>> >> Thank you
>>>...
2016 Dec 09
4
Strange clang behavior when compiled against musl
...isable-llvm-verifier -discard-value-names -main-file-name hello.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /path/to/hello/hello.gcno -resource-dir /path/to/musl/lib/clang/4.0.0 -isysroot /path/to/musl -internal-isystem /path/to/musl/usr/local/include -internal-isystem /path/to/musl/lib/clang/4.0.0/include -internal-externc-isystem /path/to/musl/include -internal-externc-isystem /path/to/musl/usr/include -fdebug-compilation-dir /...
2018 Aug 14
2
optimization remarks
Hi,
I am trying to compare the loop vectorizers effectiveness for different
targets relative to each other. That way, I am hoping to find loops that
are not vectorized - but could be - on my target by finding other
targets doing this successfully. With some luck, there might be
something in the Target files that could be fixed with improved
vectorization as a result...
I would like to do
2019 Jun 28
2
Conflicts with custom passes
...name time-1.7.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /home/khheo/project/parametric-symexe/test/toy1/time-1.7.gcno -resource-dir /home/khheo/project/llvm-8/build/lib/clang/8.0.1 -internal-isystem /usr/local/include -internal-isystem /home/khheo/project/llvm-8/build/lib/clang/8.0.1/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/in...
2015 Apr 09
2
[LLVMdev] code coverage instrumentation
...file-instr-generate -fcoverage-mapping clang flags) In my questions I refer to the two methods as llgcov-way and llcovprof-way respectively.
Q1- How come size of instrumented code in llgcov-way turns bigger than llcovprof-way? I would imagine the other way because mapping information would go to *.gcno files.
Q2- The instrumented executable size of both llgcov-way and llcovprof-way (with and without optimization) is bloated 2x to 10x or in some cases 50x depending on the program. Here is output of size command for the variations on a simple test program that I wrote:
text data bss...
2019 Aug 05
2
LLVM crashing while trying to build SPEC with Clang
...e-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /media/kiit/3E9AF7519AF703E5/New_Spec/cpu2006/benchspec/CPU2006/433.milc/run/build_base_amd64-m64-gcc42-nn.0006/check_unitarity.gcno -resource-dir /media/kiit/3E9AF7519AF703E5/llvm/lib/clang/9.0.0 -D SPEC_CPU -D NDEBUG -I . -D FN -D FAST -D CONGRAD_TMP_VECTORS -D DSLASH_TMP_LINKS -D SPEC_CPU_LP64 -I/opt/intel/compilers_and_libraries_2019.2.187/linux/ipp/include -I/opt/intel/compilers_and_libraries_2019.2.187/linux/mkl/include -I...
2017 Nov 15
2
workaround for debug info bug?
Seems like something infinite-recursion like to me:
$ clang --version
clang version 6.0.0 (trunk 317833)
Target: powerpc64le-unknown-linux-gnu
$ clang -c test.ll
warning: overriding the module target triple with
powerpc64le-unknown-linux-gnu [-Woverride-module]
...
#255 0x0000000012b07a78 llvm::DwarfUnit::getOrCreateTypeDIE(llvm::MDNode
const*)
...
So I'd say it reproduces.
On Wed, Nov 15,
2017 Aug 06
2
Compile issues with LLVM ORC JIT
...pic-level 2-mthread-model posix -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu x86-64-v -dwarf-column-info -debugger-tuning=gdb
-coverage-notes-file
/home/ikuehl/projects-llvm/TurboLisp/domainEngineer/bin/x86_64/contrib/contribJIT.gcno
-resource-dir /usr/local/bin/../lib/clang/4.0.1-I /usr/local/include -I
/opt/BOOST/include -D __STDC_CONSTANT_MACROS -D __STDC_LIMIT_MACROS
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/6.3.0/../../../../inclu...
2019 Jun 28
2
Conflicts with custom passes
Hi Tim,
Thanks for your suggestion!
I built LLVM with Debug and tried this with my custom pass.
But it has the following error
error: unable to load plugin '../../trace-extractor/build/TracePass.so': '../../trace-extractor/build/TracePass.so: undefined symbol: _ZTIN4llvm10ModulePassE’
Originally I used a builtin Clang in the system and it does not produce this issue.
When I search
2013 Feb 07
5
[PATCH v8] gcov: Coverage support
Updated set of patches for coverage.
Changes:
- change copyright lines
- use gcov: instead of cover: in commit comment
- use #ifdef in xen/common/sysctl.c instead of dummy inline function
- added base documentation in docs/misc
- added -h option to xencov
2018 Feb 07
0
retpoline mitigation and 6.0
...mx -target-feature -sse2 -target-feature -3dnow -target-feature -avx -target-feature -x87 -target-feature +retpoline-external-thunk -disable-red-zone -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -coverage-notes-file /home/dwmw2/git/linux-2.6/arch/x86/events/core.gcno -nostdsysteminc -nobuiltininc -resource-dir /home/dwmw2/git/llvm-build/lib/clang/7.0.0 -dependency-file arch/x86/events/.core.o.d -MT arch/x86/events/core.o -sys-header-deps -isystem /home/dwmw2/git/llvm-build/lib/clang/7.0.0/include -include ./include/linux/kconfig.h -I ./arch/x86/include -I ./arc...