This diff makes the behavior in D80859: [lld-macho] Ensure __bss sections we output have file offset of zero and D81888: [lld-macho] Make sure ZeroFill sections are at the end of their segments apply to
thread-local ZeroFill sections too. I realized this was necessary whie
trying to implement thread-local variables.
Details
- Reviewers
compnerd MaskRay - Group Reviewers
Restricted Project - Commits
- rG4e43f1804817: [lld-macho] Ensure .tbss sections are also considered as ZeroFilled
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Looks great!
lld/MachO/InputSection.h | ||
---|---|---|
39 | If you using namespace llvm then you can omit llvm:: |
lld/MachO/InputSection.h | ||
---|---|---|
39 | I think we should avoid using namespace inside header files... |
lld/MachO/InputSection.h | ||
---|---|---|
39 | You're right. Did not notice this is a .h......... my bad |
If you using namespace llvm then you can omit llvm::