ld64 does this, and references an internal rdar:// number as an explanation. No
idea what that rdar issue is, but in practice, it seems that not putting a BSS
section at the end can cause subsequent sections in the same segment to be
overwritten with zeroes.
Details
Details
- Reviewers
compnerd - Group Reviewers
Restricted Project - Commits
- rG7996a1ef7020: [lld-macho] Make sure ZeroFill sections are at the end of their segments
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
AFAIK arc doesn't infer the link automatically based on your git commit stacking ... you have to set it up manually or put "Depends on Dxxxxx" in your Summary :(
Comment Actions
Hi, your git commit contains extra Phabricator tags. You can drop Reviewers: Subscribers: Tags: and the text Summary: from the git commit with the following script:
arcfilter () { arc amend git log -1 --pretty=%B | awk '/Reviewers:|Subscribers:/{p=1} /Reviewed By:|Differential Revision:/{p=0} !p && !/^Summary:$/ {sub(/^Summary: /,"");print}' | git commit --amend --date=now -F - }
Reviewed By: is considered important by some people. Please keep the tag. (--date=now is my personal preference (author dates are usually not useful. Using committer dates can make log almost monotonic in time))
llvm/utils/git/pre-push.py can validate the message does not include unneeded tags.
Comment Actions
Yeah sorry I keep forgetting to clean up the commit message before landing. I'll use those scripts in the future. Thanks!