projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make llvm-objdump handle both arm and thumb disassembly from the same Mach-O
[oota-llvm.git]
/
lib
/
LTO
/
LTOCodeGenerator.cpp
diff --git
a/lib/LTO/LTOCodeGenerator.cpp
b/lib/LTO/LTOCodeGenerator.cpp
index 231e4838470afeb282e9527002f7e8db2886c01f..a51b1c9df8b10be41874d40cabcf5b25e81b7fe1 100644
(file)
--- a/
lib/LTO/LTOCodeGenerator.cpp
+++ b/
lib/LTO/LTOCodeGenerator.cpp
@@
-314,7
+314,7
@@
void LTOCodeGenerator::
applyRestriction(GlobalValue &GV,
const ArrayRef<StringRef> &Libcalls,
std::vector<const char*> &MustPreserveList,
applyRestriction(GlobalValue &GV,
const ArrayRef<StringRef> &Libcalls,
std::vector<const char*> &MustPreserveList,
- SmallPtrSet
Impl<GlobalValue*
> &AsmUsed,
+ SmallPtrSet
<GlobalValue*, 8
> &AsmUsed,
Mangler &Mangler) {
// There are no restrictions to apply to declarations.
if (GV.isDeclaration())
Mangler &Mangler) {
// There are no restrictions to apply to declarations.
if (GV.isDeclaration())
@@
-343,7
+343,7
@@
applyRestriction(GlobalValue &GV,
}
static void findUsedValues(GlobalVariable *LLVMUsed,
}
static void findUsedValues(GlobalVariable *LLVMUsed,
- SmallPtrSet
Impl<GlobalValue*
> &UsedValues) {
+ SmallPtrSet
<GlobalValue*, 8
> &UsedValues) {
if (!LLVMUsed) return;
ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer());
if (!LLVMUsed) return;
ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer());