diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-22 04:58:12 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-22 04:58:12 +0000 |
commit | a0cb890fb6a3f6deba8c30815fb73a02a423be8c (patch) | |
tree | 72689889b30d805669530b8e2d6fa2cd70436216 /llvm/include | |
parent | 9ff43e40fafe9cad0bd5d3e388e2a3e5c4d448a3 (diff) | |
download | bcm5719-llvm-a0cb890fb6a3f6deba8c30815fb73a02a423be8c.tar.gz bcm5719-llvm-a0cb890fb6a3f6deba8c30815fb73a02a423be8c.zip |
Clean the API for CollectAsmUndefinedRefs, taking a Triple and a String InlineAsm instead of a Module (NFC)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 267106
Diffstat (limited to 'llvm/include')
-rw-r--r-- | llvm/include/llvm/Object/IRObjectFile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Object/IRObjectFile.h b/llvm/include/llvm/Object/IRObjectFile.h index 453c0f542c2..0cf31d91582 100644 --- a/llvm/include/llvm/Object/IRObjectFile.h +++ b/llvm/include/llvm/Object/IRObjectFile.h @@ -20,6 +20,7 @@ namespace llvm { class Mangler; class Module; class GlobalValue; +class Triple; namespace object { class ObjectFile; @@ -65,7 +66,7 @@ public: /// For each found symbol, call \p AsmUndefinedRefs with the name of the /// symbol found and the associated flags. static void CollectAsmUndefinedRefs( - Module &TheModule, + const Triple &TheTriple, StringRef InlineAsm, const std::function<void(StringRef, BasicSymbolRef::Flags)> & AsmUndefinedRefs); |