diff options
author | Amy Huang <akhuang@google.com> | 2019-05-02 20:07:35 +0000 |
---|---|---|
committer | Amy Huang <akhuang@google.com> | 2019-05-02 20:07:35 +0000 |
commit | 301a5bbd59df75bc4ae40328f717c5ad4efabfff (patch) | |
tree | 5e1413877b0b5c8c37d90b700a6f7f98a4cabacd /clang/lib/CodeGen/CGCall.cpp | |
parent | 8ccb8f86474af26497be8cf7ffd46bd11f5e7b0f (diff) | |
download | bcm5719-llvm-301a5bbd59df75bc4ae40328f717c5ad4efabfff.tar.gz bcm5719-llvm-301a5bbd59df75bc4ae40328f717c5ad4efabfff.zip |
Change the metadata for heapallocsite calls when the type is cast.
llvm-svn: 359823
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index ed582552314..b837fa486ad 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -4370,7 +4370,6 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo, } // Add metadata for calls to MSAllocator functions - // FIXME: Get the type that the return value is cast to. if (getDebugInfo() && TargetDecl && TargetDecl->hasAttr<MSAllocatorAttr>()) getDebugInfo()->addHeapAllocSiteMetadata(CI, RetTy, Loc); |