Skip to content

Use TestingSrcLocation in TaintConfigTest instead of getInstruction(N)#818

Open
fabianbs96 wants to merge 1 commit intodevelopmentfrom
f-UpdateTaintConfigTest
Open

Use TestingSrcLocation in TaintConfigTest instead of getInstruction(N)#818
fabianbs96 wants to merge 1 commit intodevelopmentfrom
f-UpdateTaintConfigTest

Conversation

@fabianbs96
Copy link
Member

Continue in the process of eliminating metadata-ids from PhASAR's unittests

Replace all brittle integer-ID-based IR.getInstruction(N) calls with
source-coordinate-based testingLocInIR() lookups using the
TestingSrcLocation facility from TestUtils/SrcCodeLocationEntry.h.
Also remove the now-unnecessary ValueAnnotationPass include and
resetValueID() call from SetUp().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fabianbs96 fabianbs96 self-assigned this Mar 23, 2026
@fabianbs96 fabianbs96 requested a review from MMory as a code owner March 23, 2026 18:15
@fabianbs96 fabianbs96 added this to the PhASAR 2603 milestone Mar 23, 2026
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.

1 participant