1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

IRObjectFile, clang-format fixup for r267104

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 267105
This commit is contained in:
Mehdi Amini 2016-04-22 04:49:46 +00:00
parent a2fdfdeb64
commit 45db49b811

View File

@ -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