lld-link: error: <unknown>:0: symbol '__ImageBase' can not be undefined in a subtraction expression
Open
lld
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
reproduction file https://drive.google.com/file/d/15Q6crljwdztsV4bdcTfFzSlbbXkeFp7z/view?usp=sharing
Originally, crbug.com/552515214
Contributor guide
Research direction
Download the reproduction file from the linked Google Drive URL and first reproduce the diagnostic with lld-link. Investigate how the __ImageBase subtraction is handled, and consider the issue resolved when the provided reproduction no longer reports that symbol as undefined.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100