diff options
author | pfg <pfg@FreeBSD.org> | 2013-04-12 20:10:27 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-04-12 20:10:27 +0000 |
commit | 0132d9f8dc935f706c23f79b44f380862bb2ac92 (patch) | |
tree | 13d15ad8725434874f4fca3ad3e809733a0a607f /cddl/contrib/opensolaris/lib/libdtrace/common/dt_decl.c | |
parent | 37953727214fdd57218c1a4b23b1fe517d1e15f5 (diff) | |
parent | 73d9b47b2a7a8df111f99bb69b7879f98cd3b57c (diff) | |
download | FreeBSD-src-0132d9f8dc935f706c23f79b44f380862bb2ac92.zip FreeBSD-src-0132d9f8dc935f706c23f79b44f380862bb2ac92.tar.gz |
Dtrace: resolve const types from fbt and other fixes.
Merge change from illumos:
3519 DTrace fails to resolve const types from fbt
3520 dtrace internal error -- token type 316 is not a valid D
compilation token
3521 clean up dtrace unit tests
Illumos Revision: e98f46c
Reference:
https://www.illumos.org/issues/3519
https://www.illumos.org/issues/3520
https://www.illumos.org/issues/3521
Tested by: Fabian Keil
Obtained from: Illumos
MFC after: 1 month
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libdtrace/common/dt_decl.c')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libdtrace/common/dt_decl.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_decl.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_decl.c index bb77984..871fdd5 100644 --- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_decl.c +++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_decl.c @@ -21,6 +21,7 @@ */ /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright (c) 2012 by Delphix. All rights reserved. * Use is subject to license terms. */ @@ -254,11 +255,6 @@ dt_decl_spec(ushort_t kind, char *name) ddp->dd_kind = kind; ddp->dd_name = name; - if (name != NULL && strchr(name, '`') != NULL) { - xyerror(D_DECL_SCOPE, "D scoping operator may not be used " - "in a type name\n"); - } - return (dt_decl_check(ddp)); } |