HomePhabricator

Add enums as global variables in the IR metadata.

Description

Add enums as global variables in the IR metadata.

Summary:
Keeps track of the enums that were used by saving them as DIGlobalVariables,
since CodeView emits debug info for global constants.

Reviewers: rnk

Subscribers: aprantl, cfe-commits, llvm-commits

Tags: #clang, #llvm

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

Details

Committed
akhuangMay 30 2019, 3:04 PM
Differential Revision
D62635: Add enums as global variables in the IR metadata.
Branches
Unknown
Tags
Unknown