diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-25 23:51:23 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-25 23:51:23 +0000 |
commit | dc2c4db5981f3362c0c413cdf445f15d9810696a (patch) | |
tree | 168e604076de4b704fdc93415ae33a0b1b0a815e /clang/lib/CodeGen/CodeGenTBAA.h | |
parent | c0f777afbf3912787a0e8b8035cd89c738f865aa (diff) | |
download | bcm5719-llvm-dc2c4db5981f3362c0c413cdf445f15d9810696a.tar.gz bcm5719-llvm-dc2c4db5981f3362c0c413cdf445f15d9810696a.zip |
Add infrastructure for emitting TBAA metadata with the "constant" flag.
llvm-svn: 117328
Diffstat (limited to 'clang/lib/CodeGen/CodeGenTBAA.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenTBAA.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenTBAA.h b/clang/lib/CodeGen/CodeGenTBAA.h index 5a56079fc95..29f7f544d31 100644 --- a/clang/lib/CodeGen/CodeGenTBAA.h +++ b/clang/lib/CodeGen/CodeGenTBAA.h @@ -56,7 +56,8 @@ class CodeGenTBAA { llvm::MDNode *getChar(); llvm::MDNode *getTBAAInfoForNamedType(llvm::StringRef NameStr, - llvm::MDNode *Parent); + llvm::MDNode *Parent, + bool Readonly = false); public: CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext, |