mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
InstrProf: Teach llvm-cov to handle universal binaries when given -arch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/ADT/iterator.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/ErrorOr.h"
|
||||
@@ -408,7 +409,8 @@ public:
|
||||
|
||||
/// \brief Load the coverage mapping from the given files.
|
||||
static ErrorOr<std::unique_ptr<CoverageMapping>>
|
||||
load(StringRef ObjectFilename, StringRef ProfileFilename);
|
||||
load(StringRef ObjectFilename, StringRef ProfileFilename,
|
||||
Triple::ArchType Arch = Triple::ArchType::UnknownArch);
|
||||
|
||||
/// \brief The number of functions that couldn't have their profiles mapped.
|
||||
///
|
||||
|
Reference in New Issue
Block a user