On 01.07.22 15:13, 起飞的老杨sprhawk wrote:
Yes, it is indeed.

But I see in every llvm-9, llvm-11, llvm-15, they all have the same definitions

415 void ELFFile<ELFT>::getRelocationTypeName(uint32_t Type,
416                                           SmallVectorImpl<char> &Result) const {
417   if (!isMipsELF64()) {
418     StringRef Name = getRelocationTypeName(Type);
419     Result.append(Name.begin(), Name.end());

So I think they may not be an error to LLVM, or it may be some incompatibility to gcc + llvm?

What happens if you include this header file in a single source file and try to build it with gcc or clang?

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to