Skip to content

Commit

Permalink
Implement native container types used by shared EventPipe code. (#78852)
Browse files Browse the repository at this point in the history
* Implement native container types used by shared EventPipe code.

Use eglib's list, slist, array, ptr_array, queue, hash table as a starting point creating a new set of native container types shared between native runtime components like EventPipe.

EventPipe shim container API used a STL like API, new container types follows STL style container API and match STL type names:

vector
forward list
list
queue
unordered map

Native container types are still included in runtime build artifacts (through EventPipe cmake files), this can be changed/done differently depending on how each runtime would like to build/use the source files. In order to make that intent more clear, container and EventPipe cmake files have been renamed to not use CMakeList.txt, but .cmake.

A number of new native tests for added container types have been added into EventPipe native test runner.
  • Loading branch information
lateralusX authored Mar 10, 2023
1 parent 286da9e commit 1d5c424
Show file tree
Hide file tree
Showing 82 changed files with 10,800 additions and 5,648 deletions.
321 changes: 0 additions & 321 deletions src/coreclr/nativeaot/Runtime/EmptyContainers.h

This file was deleted.

Loading

0 comments on commit 1d5c424

Please sign in to comment.