[all-commits] [llvm/llvm-project] 158315: [BPF] fix clang test failure for bpf-attr-preserve...

yonghong-song via All-commits all-commits at lists.llvm.org
Wed Nov 13 09:43:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1583158042a7e1f8b4f5194b1db362328e6902f3
      https://github.com/llvm/llvm-project/commit/1583158042a7e1f8b4f5194b1db362328e6902f3
  Author: Yonghong Song <yhs at fb.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M clang/test/CodeGen/bpf-attr-preserve-access-index-4.c

  Log Message:
  -----------
  [BPF] fix clang test failure for bpf-attr-preserve-access-index-4.c

Depending on different cmake configures, clang may generate different
IR name for slot variables. Let us use the regex instead of hard
coding the name. I did the same for other bpf-attr-preserve-access-index
tests with such an approach, but somehow did not do for this one.




More information about the All-commits mailing list