diff options
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.h')
-rw-r--r-- | llvm/lib/Bitcode/Reader/MetadataLoader.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/MetadataLoader.h b/llvm/lib/Bitcode/Reader/MetadataLoader.h index 3f7b64307da..7d1027e9d52 100644 --- a/llvm/lib/Bitcode/Reader/MetadataLoader.h +++ b/llvm/lib/Bitcode/Reader/MetadataLoader.h @@ -52,6 +52,12 @@ public: // Parse a function metadata block Error parseFunctionMetadata() { return parseMetadata(false); } + /// Set the mode to strip TBAA metadata on load. + void setStripTBAA(bool StripTBAA = true); + + /// Return true if the Loader is stripping TBAA metadata. + bool isStrippingTBAA(); + // Return true there are remaining unresolved forward references. bool hasFwdRefs() const; |