Displaying 2 results from an estimated 2 matches for "forward_processed_value".
2009 Nov 19
0
[LLVMdev] More questions on CompilerDriver.
...(append_cmd ".o")]
If the set of device_names is not large, you can work around this for
now by creating a separate linker tool for each device_name (should be
easy with inheritance) and then using OptionalEdges to choose the
right "linker".
A better solution is to add a 'forward_processed_value' action of the
form '(forward_processed_value "opt-name" "HookName")'. Or maybe even
'(forward_transformed_value "p" "$VAL.o")'.
Ideally, I'd like to make primitive actions composable, so that it'd
possible to write something like...
2009 Nov 19
3
[LLVMdev] More questions on CompilerDriver.
Hi Mikhail,
I was trying to figure out how to do the following in compiler driver.
1. mcc16 driver has a -p <device_name> option. Now from this
device_name I want to be able to construct a file name like
"device_name.o" and pass that to the linker. Unpack_values "p" gives me
the device_name, but I do not know how to add ".o" suffix to it.
something like: