diff options
author | Reid Kleckner <rnk@google.com> | 2016-08-26 17:58:37 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-08-26 17:58:37 +0000 |
commit | a5b1eef846e86010f82cff3d812dfd3fb3b99405 (patch) | |
tree | e4a033d53e4d252e662b9eba6face61cb8b0afcd /llvm/lib/MC/MCContext.cpp | |
parent | 8e8fa788214642200b0524a930122d40285e573f (diff) | |
download | bcm5719-llvm-a5b1eef846e86010f82cff3d812dfd3fb3b99405.tar.gz bcm5719-llvm-a5b1eef846e86010f82cff3d812dfd3fb3b99405.zip |
[MC] Move .cv_loc management logic out of MCContext
MCContext already has many tasks, and separating CodeView out from it is
probably a good idea. The .cv_loc tracking was modelled on the DWARF
tracking which lived directly in MCContext.
Removes the inclusion of MCCodeView.h from MCContext.h, so now there are
only 10 build actions while I hack on CodeView support instead of 265.
llvm-svn: 279847
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r-- | llvm/lib/MC/MCContext.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp index 47ed1ca3add..f95087f67b2 100644 --- a/llvm/lib/MC/MCContext.cpp +++ b/llvm/lib/MC/MCContext.cpp @@ -494,14 +494,6 @@ CodeViewContext &MCContext::getCVContext() { return *CVContext.get(); } -unsigned MCContext::getCVFile(StringRef FileName, unsigned FileNumber) { - return getCVContext().addFile(FileNumber, FileName) ? FileNumber : 0; -} - -bool MCContext::isValidCVFileNumber(unsigned FileNumber) { - return getCVContext().isValidFileNumber(FileNumber); -} - //===----------------------------------------------------------------------===// // Error Reporting //===----------------------------------------------------------------------===// |