bcc: Fix array type handling due to llvm changes
authorHengqi Chen <chenhengqi@outlook.com>
Mon, 3 Jan 2022 13:36:48 +0000 (21:36 +0800)
committeryonghong-song <ys114321@gmail.com>
Wed, 5 Jan 2022 02:36:06 +0000 (18:36 -0800)
commitca1d3fd07a8483270041ef2899ed72fa28473811
tree80806bea1de0612f8e74aab499a77f25cc5a4277
parentd859879d2a61dfd5b601a2196fe7f46811f9ba6b
bcc: Fix array type handling due to llvm changes

The llvm commit aee49255074f ([0]) changes array type
from `int [4]` to `int[4]` (with space removed), which
breaks the assumption in BCC. This commit fixes this
issue and adds a comment to the related code. While at
it, also remove execution permission of file `table.py`.

  [0]: https://github.com/llvm/llvm-project/commit/aee49255074fd4ef38d97e6e70cbfbf2f9fd0fa7

Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
src/cc/frontends/clang/b_frontend_action.cc
src/python/bcc/table.py [changed mode: 0755->0644]