summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen/JSONBackend.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2019-02-01 23:23:17 +0000
committerYonghong Song <yhs@fb.com>2019-02-01 23:23:17 +0000
commit5233fb8f5e2fd4cca80a88f94c6df3fb0bf48d5e (patch)
treeac23a83abec83dba88e23ccc90a63075cc542f10 /llvm/lib/TableGen/JSONBackend.cpp
parent77b3530865f47fc86342319026e1c582e4a71fa3 (diff)
downloadbcm5719-llvm-5233fb8f5e2fd4cca80a88f94c6df3fb0bf48d5e.tar.gz
bcm5719-llvm-5233fb8f5e2fd4cca80a88f94c6df3fb0bf48d5e.zip
[BPF] [BTF] Process FileName with absolute path correctly
In IR, sometimes the following attributes for DIFile may be generated: filename: /home/yhs/test.c directory: /tmp The /tmp may represent the working directory of the compilation process. In such cases, since filename is with absolute path, the directory should be ignored by BTF. The filename alone is enough to get the source. Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Yonghong Song <yhs@fb.com> llvm-svn: 352939
Diffstat (limited to 'llvm/lib/TableGen/JSONBackend.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud