diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-12 23:06:21 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-12 23:06:21 +0000 |
commit | 0a23d76999f838257f70bd43dc7f1e2242147609 (patch) | |
tree | c83e7eac546141827b3417f69c7ddaa0e6fb8c07 /test/CodeGen/predefined-expr.c | |
parent | 2f60af7dd45f8d8af99a96756a43a46e05f70978 (diff) |
Don't use the PredefinedExpr string as the global variable name, these don't
make very nice symbols, just use the function name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/predefined-expr.c')
-rw-r--r-- | test/CodeGen/predefined-expr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/predefined-expr.c b/test/CodeGen/predefined-expr.c index 0c6e213b86..9b645931a4 100644 --- a/test/CodeGen/predefined-expr.c +++ b/test/CodeGen/predefined-expr.c @@ -1,13 +1,13 @@ // RUN: clang-cc %s -emit-llvm -o - | FileCheck %s // CHECK: @__func__.plainFunction = private constant [14 x i8] c"plainFunction\00" -// CHECK: @"__PRETTY_FUNCTION__.void plainFunction()" = private constant [21 x i8] c"void plainFunction()\00" +// CHECK: @__PRETTY_FUNCTION__.plainFunction = private constant [21 x i8] c"void plainFunction()\00" // CHECK: @__func__.externFunction = private constant [15 x i8] c"externFunction\00" -// CHECK: @"__PRETTY_FUNCTION__.void externFunction()" = private constant [22 x i8] c"void externFunction()\00" +// CHECK: @__PRETTY_FUNCTION__.externFunction = private constant [22 x i8] c"void externFunction()\00" // CHECK: @__func__.privateExternFunction = private constant [22 x i8] c"privateExternFunction\00" -// CHECK: @"__PRETTY_FUNCTION__.void privateExternFunction()" = private constant [29 x i8] c"void privateExternFunction()\00" +// CHECK: @__PRETTY_FUNCTION__.privateExternFunction = private constant [29 x i8] c"void privateExternFunction()\00" // CHECK: @__func__.staticFunction = private constant [15 x i8] c"staticFunction\00" -// CHECK: @"__PRETTY_FUNCTION__.void staticFunction()" = private constant [22 x i8] c"void staticFunction()\00" +// CHECK: @__PRETTY_FUNCTION__.staticFunction = private constant [22 x i8] c"void staticFunction()\00" #include <stdio.h> |