Skip to content

Use debug info to show where error came from#768

Merged
davidlattimore merged 1 commit into
mainfrom
push-ykkkurvmsztl
May 23, 2025
Merged

Use debug info to show where error came from#768
davidlattimore merged 1 commit into
mainfrom
push-ykkkurvmsztl

Conversation

@davidlattimore

Copy link
Copy Markdown
Member

No description provided.

Comment thread wild/tests/sources/undefined_symbols.c Outdated
//#ExpectError:Undefined symbols:
//#ExpectError: undefined_strong
//#ExpectError:undefined_symbols.c

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing that! I've made a separate PR to fix that. #769 - I ended up needing to remove one of the existing "ExpectError" commands, because GNU ld doesn't emit the string "Undefined symbols".

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC ld.bfd uses either "undefined symbols" or "undefined references", maybe it uses the second form here. Anyway, skipping it is not a big deal.

@davidlattimore davidlattimore merged commit c10e4b5 into main May 23, 2025
19 checks passed
@davidlattimore davidlattimore deleted the push-ykkkurvmsztl branch May 23, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants