Comments (4)
Yes, binary size increase is a downside. But the CPU cost of a larger binary size (e.g., due to more page faults) may generally compensated for by the linker being faster. I think we can let consumers test that for themselves.
Besides size, it seems like Objective-C and C++ exceptions use compact unwind info, but Swift does not. Also, if an Objective-C method throws and unwinds into a Swift context, Swift still doesn't need compact unwind info. So for a pure Swift project like @kastiglione is working with, it indeed seems fine. Then there's that article, which discusses backtrace
being unsuitable for crash reporting, and so needing compact unwind info. But since this is a debug build, that's not as much of a concern anyways
from zld.
Closing, will resume discussion in #7
from zld.
-no_deduplicate
is a good one. For Xcode, the default is to add -no_deduplicate
for Debug but to deduplicate for Release.
-no_compact_unwind
seems a little more interesting. I'm not sure it's really language-specific, I believe it's helping at the assembly level to backtrace, a la https://www.mikeash.com/pyblog/friday-qa-2012-04-27-plcrashreporter-and-unwinding-the-stack-with-dwarf.html . I'd like to understand the exact situations in which it can be a drawback to use flag (although it definitely seems good for debug in general)
from zld.
I'd like to understand the exact situations in which it can be a drawback to use flag
It increases the size of the binary.
from zld.
Related Issues (20)
- support CommandLineTools users HOT 4
- Failed to make tbb_staticlib on M1. HOT 1
- Can't run zld from releases HOT 3
- Not working with Xcode 13.3 HOT 3
- DOCS: Note that the full Xcode installation is required, xcode CLI is not enough HOT 3
- Library not loaded: @rpath/libLTO.dylib - Reason: image not found HOT 3
- falied to build on mac HOT 2
- Xcode required vs command line tools? HOT 2
- Killed: 9 (SIGKILL) on M1 Mac HOT 1
- The Future of zld [RFC] HOT 5
- Xcode 14 beta. Can not Not link _objc_msgSend HOT 12
- Xcode 14/MacOs 13 installation failure HOT 5
- not fast HOT 9
- Build commands failed M1 Mac HOT 2
- Unable to use Linker on Rust and M1 Pro Mac HOT 1
- Comparison with mold/sold HOT 1
- Xcode14.2 MacOS Ventura 13.1 have BUG HOT 2
- Installing from homebrew on M1 Mac Pro fails HOT 2
- Unable to install through Homebrew HOT 1
- Build failed through homebrew HOT 3
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 zld.