Skip to content

Add a page to show the diff in symbols #852

Open
@oli-obk

Description

@oli-obk

To track down regressions due to LLVM's optimizations changing due to subtle code changes can be hard. One useful tool in that box is dumping the symbols in librustc_driver.so and comparing them at different commits. I think it could be helpful to add a page that shows this diff for each perf run

My current command for dumping the symbols is

nm build/x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-a150cfa449c4561a.so | grep -oP '^[^ ]* . \K.*$' | c++filt

What do you think about this? Is it out of scope for the perf pages? Should I rather create a small command that downloads these binaries from try builds and compares them locally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions