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

Add some tests that validate debug info through ETW events #61962

Merged
merged 6 commits into from
Nov 24, 2021

Commits on Nov 23, 2021

  1. Add some tests that validate debug info through ETW events

    Validate the debug mappings generated by the JIT using the
    MethodILToNative event. Unfortunately we can not use EventListener as
    the event there does not contain the actual mappings (dotnet#12678) so this
    reuses some of the facilities from the tracing tests to use EventPipe
    and TraceEvent.
    
    This only adds the infrastructure and a small number of tests, but
    at least this should make it easier to add more tests in this area in
    the future.
    
    There are some more limitations, for example we cannot validate the
    CALL_INSTRUCTION mappings generated for the managed return value feature
    because the debugger filters them out of the table reported. I am hoping
    we can change these mappings to be included as normal in the future.
    jakobbotsch committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    e931304 View commit details
    Browse the repository at this point in the history
  2. Remove leftover file

    jakobbotsch committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    c511448 View commit details
    Browse the repository at this point in the history
  3. Determine mappings based on DebuggableAttribute, skip tier 0

    Tiering should not affect the minimum mappings we get, only
    DebuggableAttribute should. Also make sure we are testing optimized code
    instead of quickjitted non-debuggable code.
    jakobbotsch committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    18ac988 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    98a569c View commit details
    Browse the repository at this point in the history
  5. Remove aggressiveoptimization

    Since we test with TC on and off in innerloop we can allow it to test
    both flavors.
    jakobbotsch committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    37b0ac4 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. Add a readme

    jakobbotsch committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    04cad6e View commit details
    Browse the repository at this point in the history