Files
clang-p2996/clang/test/CodeGen/debug-info-pseudo-probe.cpp
hyeongyu kim fd9b099906 Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default"
This reverts commit aacfbb953e.

Revert "Fix lit test failures in CodeGenCoroutines"

This reverts commit 63fff0f5bf.
2021-11-09 02:15:55 +09:00

13 lines
636 B
C++

// This test checks if a symbol gets mangled dwarf names with -fpseudo-probe-for-profiling option.
// RUN: %clang_cc1 -triple x86_64 -x c++ -S -emit-llvm -debug-info-kind=line-tables-only -o - < %s | FileCheck %s --check-prefix=PLAIN
// RUN: %clang_cc1 -triple x86_64 -x c++ -S -emit-llvm -debug-info-kind=line-tables-only -fpseudo-probe-for-profiling -o - < %s | FileCheck %s --check-prefix=MANGLE
int foo() {
return 0;
}
// PLAIN: define dso_local i32 @_Z3foov()
// PLAIN: distinct !DISubprogram(name: "foo", scope:
// MANGLE: define dso_local i32 @_Z3foov()
// MANGLE: distinct !DISubprogram(name: "foo", linkageName: "_Z3foov"