For future references and to help with debugging crashes, this could be useful.
Details
- Reviewers
int3 gkm - Group Reviewers
Restricted Project - Commits
- rG6b715e9c4d9c: [lld-macho][nfc] Added some notes on deliberate differences btw LD64 vs LLD…
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/MachO/notes.txt | ||
---|---|---|
1 ↗ | (On Diff #375005) | I presume these are differences in ld64 that we don't want to replicate in LLD? If so, I think it might be good to reflect something around those lines to not confuse the reader that this is some sort of todo list for LLD. |
5 ↗ | (On Diff #375005) | It might seem more useful if we clarify what those criteria are? |
6–7 ↗ | (On Diff #375005) | |
11 ↗ | (On Diff #375005) | |
15 ↗ | (On Diff #375005) | Are you planning to continue this section here? |
18 ↗ | (On Diff #375005) | If we're planning to check this in, it might seem best to leave FIXME's out of notes. It's not code and you could always add this in when you remember. :) |
@thevinsterI presume these are differences in ld64 that we don't want to replicate in LLD? If so, I think it might be good to reflect something around those lines to not confuse the reader that this is some sort of todo list for LLD.
Right, this is not meant to be a bug-list or TODO list, so to speak, but rather where we say , here are the things we deliberately differ from LD64 (and why).
Some of the differences, you can point at a single piece of code, but some others are not so self-contained ... so I thought might be easier to put it here. (Also faster to look up than searching thru the code)
We could just put in the paragraph about -ObjC for now. The symbol behavior is something that should definitely be included once we can make it more precise.
Can we make this a .rst file? Ultimately we should put this under lld/docs so we have nice web-readable documentation, and all the files there are .rst. But while we're drafting it, it can stay under MachO/.
lld/MachO/notes.txt | ||
---|---|---|
5 ↗ | (On Diff #375005) | it's partially alphabetical IIRC. but yeah, we should be more precise here |
6–7 ↗ | (On Diff #375005) | "metadata" and "content" are kind of vague terms here. I suppose content is Defined::value... |
It -> LD64 for clarity