[LLVMbugs] [PATCH] Fix paths in Target.td
ghost at cs.msu.su
Sat May 13 04:49:26 PDT 2006
at the moment, Target.td uses "../Whatever.td" to refer to .td files in the
same directory as Target.td itself, which is a bit strange.
It works when building backends under lib/Target directory, but does not work
when building a custom backend out-of-tree.
Attached patch teaches TableGen to look in including file's directory for
includes, and removes "../" from includes in Target.td.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1748 bytes
Desc: not available
More information about the llvm-bugs