summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveStacks.cpp
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2019-02-02 05:54:59 +0000
committerYonghong Song <yhs@fb.com>2019-02-02 05:54:59 +0000
commitfa3654008be8738853db0e8f212776fae930fff9 (patch)
treebd297d64ded2fb9f8dfc84551721cd0cc8f0025d /llvm/lib/CodeGen/LiveStacks.cpp
parentc9a69acc7e737782e5aefed44efd85e95397f856 (diff)
downloadbcm5719-llvm-fa3654008be8738853db0e8f212776fae930fff9.tar.gz
bcm5719-llvm-fa3654008be8738853db0e8f212776fae930fff9.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: 352952
Diffstat (limited to 'llvm/lib/CodeGen/LiveStacks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud