diff options
author | Douglas Yung <douglas.yung@sony.com> | 2020-06-06 23:30:46 +0000 |
---|---|---|
committer | Douglas Yung <douglas.yung@sony.com> | 2020-06-06 23:30:46 +0000 |
commit | 059ba74bb6f6166ca7c1783ef81dd37a5209b758 (patch) | |
tree | b87867ea0772fc62fe050a0e64cce7fe9076f7dd /clang/lib/CodeGen/CGCall.cpp | |
parent | 8fc1e307f9c41e9958f78c75648e40744198c4b2 (diff) | |
download | llvm-059ba74bb6f6166ca7c1783ef81dd37a5209b758.zip llvm-059ba74bb6f6166ca7c1783ef81dd37a5209b758.tar.gz llvm-059ba74bb6f6166ca7c1783ef81dd37a5209b758.tar.bz2 |
Revert "[codeview] Put !heapallocsite on calls to operator new"
This reverts commit 672ed5386024ba5cee53e19d637b7920a4889837.
This commit is hitting an assertion failure across multiple bots in the test:
Profile-<arch> :: instrprof-gcov-multithread_fork.test
Failing bots include:
http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2205
http://lab.llvm.org:8011/builders/clang-cmake-aarch64-lld/builds/8967
http://lab.llvm.org:8011/builders/clang-cmake-armv7-full/builds/10789
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/27750
http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/16751
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 136782f..6bde312 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -4951,7 +4951,7 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo, // Add metadata for calls to MSAllocator functions if (getDebugInfo() && TargetDecl && TargetDecl->hasAttr<MSAllocatorAttr>()) - getDebugInfo()->addHeapAllocSiteMetadata(CI, RetTy->getPointeeType(), Loc); + getDebugInfo()->addHeapAllocSiteMetadata(CI, RetTy, Loc); // 4. Finish the call. |