[all-commits] [llvm/llvm-project] 657c4a: [yaml2obj] - Add a way to set default values for m...
Georgii Rymar via All-commits
all-commits at lists.llvm.org
Tue Jun 30 02:12:16 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 657c4ab39dc80f569f422d40347b97586c27b2ba
https://github.com/llvm/llvm-project/commit/657c4ab39dc80f569f422d40347b97586c27b2ba
Author: Georgii Rymar <grimar at accesssoftek.com>
Date: 2020-06-30 (Tue, 30 Jun 2020)
Changed paths:
M llvm/test/tools/yaml2obj/macro.yaml
M llvm/tools/yaml2obj/yaml2obj.cpp
Log Message:
-----------
[yaml2obj] - Add a way to set default values for macros used in a YAML.
Currently we have to override all macros that are declared. But in many
cases it is convenient to use default values and to override only
a particular one or two.
This provides a way to set a default value for any macro:
```
Symbols:
- Name: [[FOO=foo]]
```
Differential revision: https://reviews.llvm.org/D82455
More information about the All-commits
mailing list