2019-05-27 02:48:59 +02:00
|
|
|
; These tests are based on clang/test/CodeGenCXX/mangle-ms-md5.cpp
|
2018-08-16 18:17:17 +02:00
|
|
|
|
|
|
|
; RUN: llvm-undname < %s | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK-NOT: Invalid mangled name
|
|
|
|
|
|
|
|
; MD5-mangled names start with ??@ and we should output them as is. We have
|
|
|
|
; two check lines here since the tool echos the input.
|
|
|
|
??@a6a285da2eea70dba6b578022be61d81@
|
|
|
|
; CHECK: ??@a6a285da2eea70dba6b578022be61d81@
|
2019-05-27 02:48:59 +02:00
|
|
|
; CHECK-NEXT: ??@a6a285da2eea70dba6b578022be61d81@
|
|
|
|
|
|
|
|
; Don't include trailing garbage:
|
|
|
|
??@a6a285da2eea70dba6b578022be61d81@asdf
|
|
|
|
; CHECK: ??@a6a285da2eea70dba6b578022be61d81@asdf
|
|
|
|
; CHECK-NEXT: ??@a6a285da2eea70dba6b578022be61d81@
|
|
|
|
|
|
|
|
; The complete object locator special case:
|
|
|
|
; FIXME: This should probably print
|
|
|
|
; ??@a6a285da2eea70dba6b578022be61d81@::`RTTI Complete Object Locator' instead.
|
|
|
|
??@a6a285da2eea70dba6b578022be61d81@??_R4@
|
|
|
|
; CHECK: ??@a6a285da2eea70dba6b578022be61d81@??_R4@
|
|
|
|
; CHECK-NEXT: ??@a6a285da2eea70dba6b578022be61d81@??_R4@
|