mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
6863d97f67
Demangling Itanium symbols either consumes the whole input or fails, but Microsoft symbols can be successfully demangled with just some of the input. Add an outparam that enables clients to know how much of the input was consumed, and use this flag to give llvm-undname an opt-in warning on partially consumed symbols. Differential Revision: https://reviews.llvm.org/D80173
7 lines
163 B
Plaintext
7 lines
163 B
Plaintext
; RUN: llvm-undname -warn-trailing 2>&1 < %s | FileCheck %s
|
|
|
|
?x@@3HAasdf
|
|
; CHECK: ?x@@3HAasdf
|
|
; CHECK-NEXT: int x
|
|
; CHECK-NEXT: warning: trailing characters: asdf
|