[all-commits] [llvm/llvm-project] 8e9145: [clang][ExtractAPI] Add --emit-symbol-graph option

Arsenic via All-commits all-commits at lists.llvm.org
Mon Jul 3 05:07:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e9145e4314202b960dd883e6a7b21707ed5c176
      https://github.com/llvm/llvm-project/commit/8e9145e4314202b960dd883e6a7b21707ed5c176
  Author: Ankur <arsenic.secondary at gmail.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    A clang/include/clang/ExtractAPI/ExtractAPIActionBase.h
    M clang/include/clang/ExtractAPI/FrontendActions.h
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
    M clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
    A clang/test/ExtractAPI/emit-symbol-graph/multi_file.c
    A clang/test/ExtractAPI/emit-symbol-graph/single_file.c

  Log Message:
  -----------
  [clang][ExtractAPI] Add --emit-symbol-graph option

Add new --emit-symbol-graph=<DIR> option which generates ExtractAPI symbol
graph information of .c/.m files on regular compilation job and put them in
the provided "DIR" directory.

Reviewed By: dang

Differential Revision: https://reviews.llvm.org/D152356




More information about the All-commits mailing list