llvm-for-llvmta/test/tools/llvm-cxxfilt/coff-import.test

13 lines
514 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
RUN: llvm-cxxfilt -_ ___imp__ZSt6futureIvE | FileCheck %s
RUN: llvm-cxxfilt -n __imp__ZSt6futureIvE | FileCheck %s
## This should not demangle
RUN: llvm-cxxfilt -n __imp__foo | FileCheck %s --check-prefix=CHECK-STRING --match-full-lines
RUN: echo "__imp__ZSt6futureIvE __imp__ZSt6futureIvE" | llvm-cxxfilt -n | \
RUN: FileCheck %s --check-prefix=CHECK-SPLIT
CHECK: import thunk for std::future<void>
CHECK-STRING: __imp__foo
CHECK-SPLIT: import thunk for std::future<void> import thunk for std::future<void>