aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ValueMapper.cpp
diff options
context:
space:
mode:
authorCarl Ritson <carl.ritson@amd.com>2023-03-08 20:42:17 +0900
committerCarl Ritson <carl.ritson@amd.com>2023-03-08 20:42:43 +0900
commite510d0bda0876c4baa3a270dca39b95da7ec6d9e (patch)
tree774003b8e11c253784df4abe7233ad04d0b97782 /llvm/lib/Transforms/Utils/ValueMapper.cpp
parenta999669982d0cedacbb7371c96fce95682d582e1 (diff)
downloadllvm-e510d0bda0876c4baa3a270dca39b95da7ec6d9e.zip
llvm-e510d0bda0876c4baa3a270dca39b95da7ec6d9e.tar.gz
llvm-e510d0bda0876c4baa3a270dca39b95da7ec6d9e.tar.bz2
Revert "[IRLinker] Fix mapping of declaration metadata"
This reverts commit be0ef4b95d947a324aaf58373691723a0307822b. Investigating use after free issue.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/ValueMapper.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp
index 6fd6087..2a7aba0 100644
--- a/llvm/lib/Transforms/Utils/ValueMapper.cpp
+++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp
@@ -1181,10 +1181,6 @@ void ValueMapper::remapFunction(Function &F) {
FlushingMapper(pImpl)->remapFunction(F);
}
-void ValueMapper::remapGlobalObjectMetadata(GlobalObject &GO) {
- FlushingMapper(pImpl)->remapGlobalObjectMetadata(GO);
-}
-
void ValueMapper::scheduleMapGlobalInitializer(GlobalVariable &GV,
Constant &Init,
unsigned MCID) {