1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/tools/opt-viewer/unicode-function-name.test
Adam Nemet 2ca42e294c [opt-viewer] Support unicode characters in function names
This is a Swift feature.  The output stream for the index page and the source
HTML page is utf-8 now.

The next patch will add the HTML magic to properly render these characters in
the browser.

llvm-svn: 320725
2017-12-14 18:42:42 +00:00

8 lines
543 B
Plaintext

RUN: %opt-viewer -s %p/Inputs/unicode-function-name -o %t %p/Inputs/unicode-function-name/s.opt.yaml --no-highlight --demangler=llvm-cxxfilt
RUN: diff %p/Outputs/unicode-function-name/index.html %t/index.html
RUN: diff %p/Outputs/unicode-function-name/s.swift.html %t/s.swift.html
# Also test the pygments code path without actually checking the output since
# that may slightly vary between pygment versions
RUN: %opt-viewer -s %p/Inputs/unicode-function-name -o %t.unused %p/Inputs/unicode-function-name/s.opt.yaml --demangler=llvm-cxxfilt