Marking a section as ALLOC tells the ELF loader to load the section into memory.
As we do not want to load the notes into VRAM, the flag should not be there.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 46488 Build 48975: arc lint + arc unit
Event Timeline
Comment Actions
Fix test, I hope the existing test suffices.
I thought about adding a test that checks that the code section is the only section with flags != 0
but this won’t hold when a data section or others get used.