Comments (8)
I'll take a stab at porting line-tables-only
from rust.
Hi, I'll pick this up cpp_smoke_test
from rust.
@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.
The without_debuginfo
test has been unblocked by #123081 landing.
from rust.
The tests using C may be able to make use of tests/auxiliary/rust_test_helpers.c
.
from rust.
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.
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.
We could add more methods to BacktraceFrame
. Might require an ACP though.
from rust.
Related Issues (20)
- tools depending on rustc crates can't build with `rust.download-rustc=true` and `llvm.download-ci-llvm=false` options HOT 3
- Intrinsics declared with wrong arg count ICE HOT 5
- compiletest: `run-rustfix` and `revisions` have broken interactions
- Greek question mark causes ICE HOT 2
- Lint against instantly-dangling pointers like `String::with_capacity(MAX_PATH).as_mut_ptr()` HOT 8
- `yield` without value from a `gen` block HOT 17
- Tracking Issue for stabilizing the sanitizers (e.g., AddressSanitizer, LeakSanitizer, MemorySanitizer, ThreadSanitizer) HOT 2
- Tracking issue for reviewing and moving sanitizers into a compiler crate (i.e., `rustc_sanitizers`) HOT 2
- Debuginfo tests sometimes run with the wrong Python version on MacOS HOT 8
- New error on nightly 'overflow evaluating the requirement' HOT 1
- Codegen significantly worse when using u128 rather than two u64 HOT 3
- ICE: `No HirID for DefId(...)` with feature `generic_assert` HOT 2
- Nonsensical suggested type using chumsky select! (E0284) HOT 4
- Confusing error message on using `step_by` and `take` on infinite iterator
- ICE: kcfi: `expected item, found (root_crate)` HOT 1
- ICE: kcfi: `unexpected parent of trait or impl item or item not found: ForeignMod` HOT 1
- ICE: kcfi: `cannot get associated-item of DefKey..` HOT 3
- patterns: wrong tracking issue? HOT 20
- Tracking Issue for pattern types HOT 1
- Async closure internal compiler error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.