Coder Social home page Coder Social logo

cable's Issues

Fix buildinfo output

[ 76%] Updating hera-buildinfo:
       Project Version:  0.1.0+commit.1a82340a (prerelease)
       System Name:      darwin
       System Processor: x86_64
       Compiler ID:      appleclang
       Compiler Version: 8.0.0.8000042
       Build Type:       relwithdebinfo
       Git Info:           1a82340ad8cecd655fa578694097e54238b9eb3d
       Timestamp:        2018-08-21T15:44:24

There is some extra space (or tabs?) on the git info line

``cable_add_cxx_compiler_flag_if_supported`` breaks options that rely on slashes being preserved

@axic suggested I mention this here: in the solidity repo we have to deviate from cable's cable_add_cxx_compiler_flag_if_supported, due to the regex in

string(REGEX REPLACE "^-|/" "" name ${FLAG})

Specifically we have eth_add_cxx_compiler_flag_if_supported("-fmacro-prefix-map=${CMAKE_SOURCE_DIR}=/solidity") in
https://github.com/ethereum/solidity/blob/0015e8cd847ae81926438e7f8aa90b89ed328e0c/cmake/EthCompilerSettings.cmake#L29
which relies on slashes that are not at the beginning of the option to be left untouched.

We noticed when @axic attempted to re-sync our ancient eth_add_cxx_compiler_flag_if_supported with the current cable_add_cxx_compiler_flag_if_supported from here.

how to detect coverage in solidity compiler

I switch OFF to ON before compile solidity coverage switch.

When I used afl cov in conjunction with solc to test coverage, the following error occurred:
1713431781270

May I ask what the reason is?
Why does Solc not support coverage detection, or how can we detect Solc's coverage?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.