Comments (6)
leaving this to @philipc as they said they had done work on this.
from addr2line.
Dependencies need to be #![no_std]
too. These are done:
- gimli
- fallible-iterator
- object
- intervaltree
- smallvec
- rustc-demangle
To do:
- lazy-init
- cpp_demangle
An alternative to lazy-init is https://github.com/indiv0/lazycell, but it doesn't have no_std
support either.
from addr2line.
Thanks @philipc added lazy-init and cpp_demangle to #89. I'm giving cpp_demangle a shot.
from addr2line.
cpp_demangle supports #![no_std]
now, see #89.
As for lazy-init: it uses a mutex internally, which doesn't seem to exist on libcore. lazycell on the other hand uses atomics, which do exist on libcore. So it should be easier to port lazycell.
from addr2line.
Found one more: Storyyeller/stable_deref_trait#2. This will need a gimli update too. Pretty sure that's the last of them though.
from addr2line.
Oh, probably this PR of mine won't compile successfully then: gimli-rs/gimli#306
from addr2line.
Related Issues (20)
- Add Line to Address Functionality HOT 2
- Broken link in Readme HOT 1
- Leftover Travis CI references
- osx binary HOT 3
- empty output '??:?' HOT 2
- Duplicated `comp-dir` HOT 1
- Consider switching from memmap crate dependency
- Promote the CLI example to a `bin` crate HOT 2
- No line information found in jitted-1234-56.so files generated by perf inject --jit HOT 5
- Can't resolve libc symbol - which is found by C addr2line HOT 4
- New release HOT 3
- Remove `Context::new` HOT 1
- Tests are failing with nightly rust due to packed debuginfo HOT 4
- Errors when parsing DWARF from Wasm objects HOT 20
- Broken with clang-16 debug info on Linux HOT 2
- How to locate a symbol using this crate? HOT 4
- There is a bug when ```find_location_range``` is used to parse an relocatable object file. HOT 14
- Fails consistently with "failed to process type: 68 [Numerical result out of range]" HOT 5
- Use `gimli::UnitRef`
- Replace LazyCell with core::std::OnceCell
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 addr2line.