Skip to content

[workflows] [Do not review] Experimentation - #28

Closed
kcossett-amd wants to merge 9 commits into
dyninst_13from
users/kcossett-amd/dyninst-workflows
Closed

[workflows] [Do not review] Experimentation#28
kcossett-amd wants to merge 9 commits into
dyninst_13from
users/kcossett-amd/dyninst-workflows

Conversation

@kcossett-amd

Copy link
Copy Markdown

Motivation

This is just a test

Technical Details

Test Plan

Test Result

Submission Checklist

@kcossett-amd
kcossett-amd force-pushed the users/kcossett-amd/dyninst-workflows branch 2 times, most recently from 438d128 to 731bb0a Compare August 11, 2026 15:01
@kcossett-amd

Copy link
Copy Markdown
Author

It turns out naming the directory dyninst causes problems :(

See: ROCm/rocm-systems#9999

kcossett-amd and others added 4 commits August 12, 2026 08:10
RHEL 10 (gcc 14.3.1) is the only image in the CI matrix new enough to
reach these three diagnostics, each of which is fatal under
DYNINST_WARNINGS_AS_ERRORS.

Annotatable.h passed calloc its arguments transposed, tripping gcc 14's
-Wcalloc-transposed-args. The allocation size is unchanged.

indexed_symbols::erase discarded the result of std::remove, which gcc
14's libstdc++ marks [[nodiscard]]. This was a real defect rather than a
diagnostic nuisance: std::remove shifts the survivors down and returns
the new logical end, so ignoring it left each vector at its original
length with a stale duplicate in the tail, and did not remove the symbol
at all when it was the last element. Completed to the erase-remove
idiom.

gcc 14 compiles the buildTables() lambda to a 74560-byte frame, but
DyninstWarnings.cmake populated the non-debug power-opcode-table
override only for gcc 7 and clang, so gcc 14 fell through to the 20480
default. Added a gcc 14+ arm at 76800, the worst case already documented
for this file.

The Annotatable.h and indexed_symbols.hpp changes match upstream master.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kcossett-amd

Copy link
Copy Markdown
Author

Everything checks out.

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.

1 participant