diff options
author | Michal Gorny <mgorny@gentoo.org> | 2017-07-29 08:10:24 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2017-07-29 08:10:24 +0000 |
commit | a405cd45b79c82d52f033e187d9c9ea2885be56a (patch) | |
tree | f112a515370b7bfbd1e7329ed5cf9c20580a263a /test/Analysis | |
parent | cb5fd996a0f4790d06297ac87983f5f78d636f57 (diff) |
[OCaml] Pass -D/-UNDEBUG through to ocamlc
Detect [/-][DU]NDEBUG in CMAKE_C_FLAGS* and pass them through to ocamlc.
This is necessary because their value might affect visibility of dump
functions in LLVM and ocamlc uses its own compiler and flags by default.
Differential Revision: https://reviews.llvm.org/D35898
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
0 files changed, 0 insertions, 0 deletions