Skip to content

Commit 0fd017c

Browse files
committed
[nfc][ctx_profile] Move CtxInstrContextNode.h in include
Follow-up from PR #91669.
1 parent e4763ca commit 0fd017c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

compiler-rt/lib/ctx_profile/CtxInstrContextNode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
/// to be concerned with memory safety. Their subcontexts never get populated,
5656
/// though. The runtime code here produces and recognizes them.
5757

58-
#ifndef LLVM_LIB_PROFILEDATA_CTXINSTRCONTEXTNODE_H
59-
#define LLVM_LIB_PROFILEDATA_CTXINSTRCONTEXTNODE_H
58+
#ifndef LLVM_PROFILEDATA_CTXINSTRCONTEXTNODE_H
59+
#define LLVM_PROFILEDATA_CTXINSTRCONTEXTNODE_H
6060

6161
#include <stdint.h>
6262
#include <stdlib.h>

compiler-rt/test/ctx_profile/TestCases/check-same-ctx-node.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
; NOTE: if this test fails, please make sure the two files are identical copies
33
; of eachother.
44
;
5-
; RUN: diff %crt_src/lib/ctx_profile/CtxInstrContextNode.h %llvm_src/lib/ProfileData/CtxInstrContextNode.h
5+
; RUN: diff %crt_src/lib/ctx_profile/CtxInstrContextNode.h %llvm_src/include/llvm/ProfileData/CtxInstrContextNode.h

llvm/lib/ProfileData/CtxInstrContextNode.h renamed to llvm/include/llvm/ProfileData/CtxInstrContextNode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
/// to be concerned with memory safety. Their subcontexts never get populated,
5656
/// though. The runtime code here produces and recognizes them.
5757

58-
#ifndef LLVM_LIB_PROFILEDATA_CTXINSTRCONTEXTNODE_H
59-
#define LLVM_LIB_PROFILEDATA_CTXINSTRCONTEXTNODE_H
58+
#ifndef LLVM_PROFILEDATA_CTXINSTRCONTEXTNODE_H
59+
#define LLVM_PROFILEDATA_CTXINSTRCONTEXTNODE_H
6060

6161
#include <stdint.h>
6262
#include <stdlib.h>

0 commit comments

Comments
 (0)