Git Product home page Git Product logo

Comments (8)

jieyouxu avatar jieyouxu commented on June 7, 2024 2

I'll take a stab at porting line-tables-only

from rust.

izarma avatar izarma commented on June 7, 2024 2

Hi, I'll pick this up cpp_smoke_test

from rust.

workingjubilee avatar workingjubilee commented on June 7, 2024 2

@jieyouxu I think I'll have to reimagine the test somewhat and port it myself, yeah! it can be run under the rustc test suite but it requires doing something mildly silly because what it is really doing is testing that you "don't lose track" of the debuginfo.

from rust.

workingjubilee avatar workingjubilee commented on June 7, 2024 2

The without_debuginfo test has been unblocked by #123081 landing.

from rust.

Nilstrieb avatar Nilstrieb commented on June 7, 2024

The tests using C may be able to make use of tests/auxiliary/rust_test_helpers.c.

from rust.

jieyouxu avatar jieyouxu commented on June 7, 2024

I don't think debuglink can be easily ported over to the rustc test suite without the test suite having access to docker? The problem is that the test wants to test debug directories under /usr/lib/debug, which seems like a massive no-no without docker. I don't think there is a very elegant solution for that? Even if it was possible to run docker inside docker (as in rustc's CI), that seems to be a bad idea in itself.

from rust.

jieyouxu avatar jieyouxu commented on June 7, 2024

The without_debuginfo test has been unblocked by #123081 landing.

That test is also unfortunately a bit awkward because it's checking if each frame with a non-null IP has resolved symbols even if -Cdebuginfo=0... which is awkward to check with std::backtrace::Backtrace because AFAICT the frame IP is not exposed.

from rust.

ChrisDenton avatar ChrisDenton commented on June 7, 2024

We could add more methods to BacktraceFrame. Might require an ACP though.

from rust.

Related Issues (20)

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.