You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
900 B
24 lines
900 B
; These tests are based on clang/test/CodeGenCXX/mangle-ms-md5.cpp
|
|
|
|
; 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@
|
|
; 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@
|