summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
-rw-r--r--llvm/lib/Object/IRObjectFile.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/Object/IRObjectFile.cpp b/llvm/lib/Object/IRObjectFile.cpp
index efa30b036bd..0d35744f93d 100644
--- a/llvm/lib/Object/IRObjectFile.cpp
+++ b/llvm/lib/Object/IRObjectFile.cpp
@@ -38,10 +38,11 @@ using namespace object;
IRObjectFile::IRObjectFile(MemoryBufferRef Object, std::unique_ptr<Module> Mod)
: SymbolicFile(Binary::ID_IR, Object), M(std::move(Mod)) {
Mang.reset(new Mangler());
- CollectAsmUndefinedRefs(*M, [this](StringRef Name,
- BasicSymbolRef::Flags Flags) {
- AsmSymbols.push_back(std::make_pair<std::string, uint32_t>(Name, std::move(Flags)));
- });
+ CollectAsmUndefinedRefs(
+ *M, [this](StringRef Name, BasicSymbolRef::Flags Flags) {
+ AsmSymbols.push_back(
+ std::make_pair<std::string, uint32_t>(Name, std::move(Flags)));
+ });
}
// Parse inline ASM and collect the list of symbols that are not defined in
OpenPOWER on IntegriCloud