The thumb bit should only be set for executable code.
Details
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
| COFF/DLL.cpp | ||
|---|---|---|
| 365 | Well I'm not actually touching this line (contrary to what the phabricator diff shows), it's the Bit lines that I'm moving into the loop, so this is unrelated. A git/svn diff that does care about whitespace shows it differently. | |
| 369 | No, we're not only setting the thumb bit here, we're also writing the full address in itself in this loop - in that case we wouldn't write any address at all for data symbols | |
Please make this const.