[LLVMbugs] [PATCH] Fix paths in Target.td

Vladimir Prus ghost at cs.msu.su
Sat May 13 04:49:26 PDT 2006


Hi,
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.

- Volodya




-------------- next part --------------
A non-text attachment was scrubbed...
Name: relative_path.diff
Type: text/x-diff
Size: 1748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20060513/0e91e8fd/attachment.diff>


More information about the llvm-bugs mailing list