From 9b49af32a493752503cd414e5a15063ac0bc98a1 Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Fri, 17 Aug 2012 14:45:03 -0800 Subject: On demand loading of fatbins Experimental library support (diff abstract_hardware_model.cc) (currently broken because of undocumented cudaGetExportTable function in the cuda rt api) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13793] --- libcuda/cuobjdump.l | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libcuda/cuobjdump.l') diff --git a/libcuda/cuobjdump.l b/libcuda/cuobjdump.l index e782c17..d264338 100644 --- a/libcuda/cuobjdump.l +++ b/libcuda/cuobjdump.l @@ -107,13 +107,14 @@ newlines {newline}+
"has debug info"{newline} /* Looking for the identifier (filename) then the header is done */ -[[:alnum:]_\.]+ yylval.string_value = strdup(yytext); yy_pop_state(); return FILENAME; + /* [[:alnum:]_\./]+ yylval.string_value = strdup(yytext); yy_pop_state(); return FILENAME; */ +{notnewline}+ yylval.string_value = strdup(yytext); yy_pop_state(); return FILENAME; {newline} return NEWLINE; /*Reached end of file*/ -<> return 0; +<> BEGIN(INITIAL);return 0; /*No other rule matched. Throw an error*/ . cuobjdump_error("Invalid token"); -- cgit v1.3