You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Yu Ding <no...@github.com.INVALID> on 2020/12/30 00:44:02 UTC

[apache/incubator-teaclave-sgx-sdk] WIP: Fix sgx cov (#309)

changes:

- fixed sgx_cov in `nightly-2020-10-25`, which provides `llvm-cov-11`
- probe `gcov` and `llvm-cov` version heuristically. `gcov` &lt;= 7 and `llvm-cov` &gt;= 11 supported
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave-sgx-sdk/pull/309

-- Commit Summary --

  * fix sgx-cov to be compatible with LLVM 10 profiler API
  * Update readme. add gcov version requirement
  * temp fail cannot find final.info
  * cov: fix Makefile and support llvm-cov-12

-- File Changes --

    M samplecode/sgx-cov/Makefile (1)
    M samplecode/sgx-cov/Readme.md (16)
    M samplecode/sgx-cov/enclave/enclave-cov-rustc (0)
    M samplecode/sgx-cov/enclave/llvm-gcov (57)
    M sgx_cov/lib.rs (237)

-- Patch Links --

https://github.com/apache/incubator-teaclave-sgx-sdk/pull/309.patch
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/309.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/309

Re: [apache/incubator-teaclave-sgx-sdk] WIP: Fix sgx cov (#309)

Posted by Yu Ding <no...@github.com.INVALID>.
@volcano0dr please help on xargo support. currently sgx-cov sample does not compile on `XARGO_SGX=1 make COV=1`:

```
error: the crate `panic_abort` does not have the panic strategy `abort`
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/309#issuecomment-752288255

Re: [apache/incubator-teaclave-sgx-sdk] Fix sgx cov (#309)

Posted by Yu Ding <no...@github.com.INVALID>.
Merged #309 into master.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/309#event-4158073245