class CodeViewContext manages resources such as dynamically allocated memory, it's generally a good practice to either implement a custom copy constructor or disable the default one.
Reviewed By: skan
Differential Revision: https://reviews.llvm.org/D151695
CodeViewContext();
~CodeViewContext();
+ CodeViewContext &operator=(const CodeViewContext &other) = delete;
+ CodeViewContext(const CodeViewContext &other) = delete;
+
bool isValidFileNumber(unsigned FileNumber) const;
bool addFile(MCStreamer &OS, unsigned FileNumber, StringRef Filename,
ArrayRef<uint8_t> ChecksumBytes, uint8_t ChecksumKind);