blob: ef339286deda3b6e46b1ce55dbd9c48c5149f65a [file] [edit]
## Test that ThinLTO combined-index handles Unicode characters in module paths.
RUN: rm -rf %t && split-file %s %t && cd %t
RUN: opt -module-summary α.ll -o α.bc
RUN: llvm-lto -thinlto-action=thinlink -o index.bc α.bc
RUN: llvm-bcanalyzer -dump index.bc | FileCheck %s
CHECK: <MODULE_STRTAB_BLOCK
CHECK-NEXT: <ENTRY abbrevid=
## UTF-8 for "α.bc" is CE B1 2E 62 63.
CHECK-SAME: op1=206 op2=177 op3=46 op4=98 op5=99/>
#--- α.ll
target triple = "x86_64-unknown-linux-gnu"
define i32 @f() {
ret i32 0
}