mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Clean up warnings after a2c8cd18128d3529992a86998d2bea80cceafff0
This commit is contained in:
parent
138b7b6167
commit
38d5957435
@ -397,6 +397,7 @@ void AsmPrinter::emitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const {
|
||||
case GlobalValue::CommonLinkage:
|
||||
assert(!TM.getTargetTriple().isOSBinFormatXCOFF() &&
|
||||
"CommonLinkage of XCOFF should not come to this path.");
|
||||
LLVM_FALLTHROUGH;
|
||||
case GlobalValue::LinkOnceAnyLinkage:
|
||||
case GlobalValue::LinkOnceODRLinkage:
|
||||
case GlobalValue::WeakAnyLinkage:
|
||||
|
@ -203,6 +203,7 @@ bool MCELFStreamer::emitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
|
||||
// defined.
|
||||
switch (Attribute) {
|
||||
case MCSA_Cold:
|
||||
case MCSA_Extern:
|
||||
case MCSA_LazyReference:
|
||||
case MCSA_Reference:
|
||||
case MCSA_SymbolResolver:
|
||||
|
@ -326,6 +326,7 @@ bool MCMachOStreamer::emitSymbolAttribute(MCSymbol *Sym,
|
||||
case MCSA_ELF_TypeCommon:
|
||||
case MCSA_ELF_TypeNoType:
|
||||
case MCSA_ELF_TypeGnuUniqueObject:
|
||||
case MCSA_Extern:
|
||||
case MCSA_Hidden:
|
||||
case MCSA_IndirectSymbol:
|
||||
case MCSA_Internal:
|
||||
|
Loading…
Reference in New Issue
Block a user