summaryrefslogtreecommitdiff
path: root/runtime/libprofile/CommonProfiling.c
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-05-04 16:51:47 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-05-04 16:51:47 +0000
commit9fa49c8906e08296548e0ee0c8c9c5852781684a (patch)
tree01fed88c5797b0cdde69b7f76994c1592ce4b5ec /runtime/libprofile/CommonProfiling.c
parent40114b780b1f1243e5b4dcc45e6685b3c77d3b32 (diff)
downloadllvm-9fa49c8906e08296548e0ee0c8c9c5852781684a.tar.gz
llvm-9fa49c8906e08296548e0ee0c8c9c5852781684a.tar.bz2
llvm-9fa49c8906e08296548e0ee0c8c9c5852781684a.tar.xz
Constants for profile info type changed names to match the C++ ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/libprofile/CommonProfiling.c')
-rw-r--r--runtime/libprofile/CommonProfiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/CommonProfiling.c b/runtime/libprofile/CommonProfiling.c
index aeb9c606e4..16bd9bd4c5 100644
--- a/runtime/libprofile/CommonProfiling.c
+++ b/runtime/libprofile/CommonProfiling.c
@@ -99,7 +99,7 @@ void write_profiling_data(enum ProfilingType PT, unsigned *Start,
/* Output the command line arguments to the file. */
{
- int PTy = Arguments;
+ int PTy = ArgumentInfo;
int Zeros = 0;
write(OutFile, &PTy, sizeof(int));
write(OutFile, &SavedArgsLength, sizeof(unsigned));