FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[reproduce] Preserve linker inputs when reproduce link fails by Steven6798 · Pull Request #2068 · qualcomm/eld · GitHub

Repository navigation

[reproduce] Preserve linker inputs when reproduce link fails - #2068

Open
Steven Ramirez Rosa (Steven6798) wants to merge 1 commit into
qualcomm:mainfrom
Steven6798:issue-1014
Open

Steven Ramirez Rosa (Steven6798) wants to merge 1 commit into
qualcomm:mainfrom
Steven6798:issue-1014

Conversation

Copy link
Copy Markdown
Contributor

Capture linker scripts and unresolved namespecs when input activation fails so the reproduce response preserves the original failure. Avoid applying mapping-file resolution to unmapped replay namespecs while retaining normal mapped namespec behavior.

Fix: #1014

Comment thread lib/Input/Input.cpp Outdated
// namespecs that have an explicit mapping entry, preserving normal mapped
// link behavior.
if (PConfig.options().hasMappingFile() && !isInternal() &&
(Type != Input::Namespec || PConfig.hasMappingForFile(FileName)))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can this condition be simplified or made into a seperate function ?

Input::resolveReproducePath() ?

This will allow the critical code without reproduce unaffected.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Sounds good.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Let me know if my latest change is what you were looking for.

@@ -1763,6 +1770,8 @@ bool GnuLdDriver::processReproduceOption(
break;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I could not follow this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We cannot just return because we failed to resolve the action. That's how we end up without the input file in the reproduce.

Steven Ramirez Rosa (Steven6798) marked this pull request as draft October 6, 2026 18:40
Capture linker scripts and unresolved namespecs when input
activation fails so the reproduce response preserves the original
failure. Avoid applying mapping-file resolution to unmapped
replay namespecs while retaining normal mapped namespec behavior.

Fix: qualcomm#1014

Signed-off-by: Steven Ramirez Rosa <ramirezr@qti.qualcomm.com>

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Input files missing in the reproduce tarball when the link fails while reading inputs

3 participants


Back | FazBrowse Home | New Git URL