mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 01:31:26 +00:00
Fix error messages.
llvm-svn: 320772
This commit is contained in:
parent
44298f26b6
commit
29ceba7961
@ -808,7 +808,7 @@ template <class ELFT> void SharedFile<ELFT>::parseRest() {
|
||||
}
|
||||
|
||||
if (Sym.getBinding() == STB_LOCAL) {
|
||||
warn("Found local symbol '" + Name +
|
||||
warn("found local symbol '" + Name +
|
||||
"' in global part of symbol table in file " + toString(this));
|
||||
continue;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
# RUN: echo | llvm-mc - -o %t1.o -filetype=obj -triple x86_64-pc-linux
|
||||
# RUN: ld.lld %t1.o %p/Inputs/local-symbol-in-dso.so -o %t 2>&1 | \
|
||||
# RUN: FileCheck -check-prefix=WARN %s
|
||||
# WARN: Found local symbol 'foo' in global part of symbol table in file {{.*}}local-symbol-in-dso.so
|
||||
# WARN: found local symbol 'foo' in global part of symbol table in file {{.*}}local-symbol-in-dso.so
|
||||
|
||||
# RUN: llvm-mc %s -o %t2.o -filetype=obj -triple x86_64-pc-linux
|
||||
# RUN: not ld.lld %t2.o %p/Inputs/local-symbol-in-dso.so -o %t
|
||||
|
@ -135,7 +135,7 @@ InputSegment *ObjFile::getSegment(const WasmSymbol &WasmSym) {
|
||||
return Segment;
|
||||
}
|
||||
}
|
||||
error("Symbol not found in any segment: " + WasmSym.Name);
|
||||
error("symbol not found in any segment: " + WasmSym.Name);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user