diff options
author | Alon Mishne <alon.mishne@intel.com> | 2014-03-12 14:42:51 +0000 |
---|---|---|
committer | Alon Mishne <alon.mishne@intel.com> | 2014-03-12 14:42:51 +0000 |
commit | e74c0bf111c95c32a56fbe4c11bf11167eeb6401 (patch) | |
tree | 907231e125ca11efec322d9f1ea1f5a1dac9e896 /include | |
parent | 58b6bfeb229acfe4ded95af6099024a3411ead74 (diff) | |
download | llvm-e74c0bf111c95c32a56fbe4c11bf11167eeb6401.tar.gz llvm-e74c0bf111c95c32a56fbe4c11bf11167eeb6401.tar.bz2 llvm-e74c0bf111c95c32a56fbe4c11bf11167eeb6401.tar.xz |
Cloning a function now also clones its debug metadata if 'ModuleLevelChanges' is true.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/Utils/Cloning.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index 13532e8009..96c650834a 100644 --- a/include/llvm/Transforms/Utils/Cloning.h +++ b/include/llvm/Transforms/Utils/Cloning.h @@ -109,7 +109,7 @@ BasicBlock *CloneBasicBlock(const BasicBlock *BB, /// information about the cloned code if non-null. /// /// If ModuleLevelChanges is false, VMap contains no non-identity GlobalValue -/// mappings. +/// mappings, and debug info metadata will not be cloned. /// Function *CloneFunction(const Function *F, ValueToValueMapTy &VMap, |