Unverified Commit e4763ca8 authored by Mircea Trofin's avatar Mircea Trofin Committed by GitHub
Browse files

[ctx_profile] Pull `ContextNode` in a `.inc` file (#91669)

This pulls out `ContextNode` as we need to use it pretty much as-is to implement a writer. The writer will be implemented on the LLVM side because it takes a dependency on BitStreamWriter.

Since we can't reuse a header between compiler-rt and llvm, we use a header file which is copied on both sides, and test that the 2 copies are identical.

The changes adds the necessary other stuff for compiler-rt/ctx_profile testing.
parent f865dbff
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment