[llvm-branch-commits] [compiler-rt] release/19.x: [InstrProf] Remove duplicate definition of IntPtrT (PR #101061)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 29 11:45:59 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-pgo

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport 2c376fe96c83443c15e6485d043ebe321904546b

Requested by: @<!-- -->DimitryAndric

---
Full diff: https://github.com/llvm/llvm-project/pull/101061.diff


1 Files Affected:

- (modified) compiler-rt/lib/profile/InstrProfiling.h (-1) 


``````````diff
diff --git a/compiler-rt/lib/profile/InstrProfiling.h b/compiler-rt/lib/profile/InstrProfiling.h
index d424a22c212c3..6906d52eacaf1 100644
--- a/compiler-rt/lib/profile/InstrProfiling.h
+++ b/compiler-rt/lib/profile/InstrProfiling.h
@@ -49,7 +49,6 @@ typedef struct ValueProfNode {
 #include "profile/InstrProfData.inc"
 } ValueProfNode;
 
-typedef void *IntPtrT;
 typedef struct COMPILER_RT_ALIGNAS(INSTR_PROF_DATA_ALIGNMENT) VTableProfData {
 #define INSTR_PROF_VTABLE_DATA(Type, LLVMType, Name, Initializer) Type Name;
 #include "profile/InstrProfData.inc"

``````````

</details>


https://github.com/llvm/llvm-project/pull/101061


More information about the llvm-branch-commits mailing list