Displaying 1 result from an estimated 1 matches for "only_in_unitx".
Did you mean:
only_in_unit1
2013 Oct 16
1
[LLVMdev] Unexpected behaviour of the LLVM gold plugin with --allow-multiple-definition
...Attrs: nounwind uwtable
define internal void @only_in_unit1() #0 {
entry:
ret void
}
...
And similary for the other ordering of unit1 and unit2.
As it can be seen from the output, get_unit_id is chosen correctly from
the first unit*.c file specified in the input arguments.
However, the symbol only_in_unitX, where unitX is the second specified
unit file, is undefined. In general, it seems that whenever a file has a
symbol which was overridden, all symbols from the file are ignored and
not linked into the output file.
Is this an intended behaviour or I am misusing the commands and/or options?
Pleas...