11.1SjoergRUN: mkdir -p %t.d 21.1SjoergRUN: %clang_profgen -o %t.d/func.shared -fPIC -shared -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections %S/../Inputs/instrprof-dlopen-func.c 31.1SjoergRUN: %clang_profgen -o %t.d/func2.shared -fPIC -shared -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections %S/../Inputs/instrprof-dlopen-func2.c 41.1SjoergRUN: %clang -o %t-local -fPIC -DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_LOCAL" %S/../Inputs/instrprof-dlopen-main.c 51.1SjoergRUN: %clang -o %t-global -fPIC -DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_GLOBAL" %S/../Inputs/instrprof-dlopen-main.c 61.1Sjoerg 71.1SjoergRUN: %clang -c -o %t.d/main.o %S/../Inputs/instrprof-dlopen-main.c 81.1SjoergRUN: %clang_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-static %S/../Inputs/instrprof-dlopen-func.c %S/../Inputs/instrprof-dlopen-func2.c %t.d/main.o 91.1Sjoerg 101.1SjoergRUN: env LLVM_PROFILE_FILE=%t-static.profraw %run %t-static 111.1SjoergRUN: env LLVM_PROFILE_FILE=%t-local.profraw %run %t-local 121.1SjoergRUN: env LLVM_PROFILE_FILE=%t-global.profraw %run %t-global 131.1Sjoerg 141.1SjoergRUN: llvm-profdata merge -o %t-static.profdata %t-static.profraw 151.1SjoergRUN: llvm-profdata merge -o %t-local.profdata %t-local.profraw 161.1SjoergRUN: llvm-profdata merge -o %t-global.profdata %t-global.profraw 171.1Sjoerg 181.1SjoergRUN: %clang_profuse=%t-static.profdata -o %t-func.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c 191.1SjoergRUN: %clang_profuse=%t-local.profdata -o %t-func.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c 201.1SjoergRUN: %clang_profuse=%t-global.profdata -o %t-func.global.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c 211.1SjoergRUN: diff %t-func.static.ll %t-func.local.ll 221.1SjoergRUN: diff %t-func.static.ll %t-func.global.ll 231.1Sjoerg 241.1SjoergRUN: %clang_profuse=%t-static.profdata -o %t-func2.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func2.c 251.1SjoergRUN: %clang_profuse=%t-local.profdata -o %t-func2.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func2.c 261.1SjoergRUN: %clang_profuse=%t-global.profdata -o %t-func2.global.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func2.c 271.1SjoergRUN: diff %t-func2.static.ll %t-func2.local.ll 281.1SjoergRUN: diff %t-func2.static.ll %t-func2.global.ll 291.1Sjoerg 301.1SjoergRUN: %clang_profuse=%t-static.profdata -o %t-main.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-main.c 311.1SjoergRUN: %clang_profuse=%t-local.profdata -o %t-main.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-main.c 321.1SjoergRUN: %clang_profuse=%t-local.profdata -o %t-main.global.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-main.c 331.1SjoergRUN: diff %t-main.static.ll %t-main.local.ll 341.1SjoergRUN: diff %t-main.static.ll %t-main.global.ll 35