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 | 0482cfd7904c3c7629bc050e09771bb5a4298f83 (patch) | |
tree | 6dd7c8ce897325889825dff30196fc5d0e5c2e09 /clang/test/CodeGen/predefined-expr.c | |
parent | a602bebb61f6fec2b155c65028c5e6cd3872c144 (diff) | |
download | bcm5719-llvm-0482cfd7904c3c7629bc050e09771bb5a4298f83.tar.gz bcm5719-llvm-0482cfd7904c3c7629bc050e09771bb5a4298f83.zip |
Don't use the PredefinedExpr string as the global variable name, these don't
make very nice symbols, just use the function name.
llvm-svn: 81653
Diffstat (limited to 'clang/test/CodeGen/predefined-expr.c')
-rw-r--r-- | clang/test/CodeGen/predefined-expr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/predefined-expr.c b/clang/test/CodeGen/predefined-expr.c index 0c6e213b861..9b645931a4a 100644 --- a/clang/test/CodeGen/predefined-expr.c +++ b/clang/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> |