Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix:Autograding] add dwarf 4 option to drmemory #39

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

bmcutler
Copy link
Member

@bmcutler bmcutler commented Sep 22, 2023

with g++11 it is necessary to compile with dwarf4 to get line numbers from DrMemory

        "command" : "clang++ -g -gdwarf-4 -Wall -o a.out *.cpp",
        // NOTE: Compiling with the -gdwarf-4 option is required with g++ 11+
        // so that DrMemory can print source code line numbers with.
        // See also:
        // https://github.com/DynamoRIO/drmemory/issues/2485

Also, in PR Submitty/Submitty#9793 the category for a system call previously in the unknown category is updated so that the configuration runs without the system call failure.

@bmcutler bmcutler merged commit 1ff3d1b into main Sep 22, 2023
2 checks passed
@bmcutler bmcutler deleted the update_drmemoryconfig branch September 22, 2023 02:30
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