diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-03-19 21:28:18 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-03-19 21:28:18 +0000 |
commit | c286b9f0f4aab004e46fe14f3ba1648d7d1edaf7 (patch) | |
tree | 77acce79db23b8c6c996304db54e6d398280e1d3 /llvm/include/llvm-c | |
parent | 28546662630e073efe1481454f0425ec41961481 (diff) | |
download | bcm5719-llvm-c286b9f0f4aab004e46fe14f3ba1648d7d1edaf7.tar.gz bcm5719-llvm-c286b9f0f4aab004e46fe14f3ba1648d7d1edaf7.zip |
Const-correctness in libLTO
Looks like I was sloppy when bridging to C.
Thanks D. Blaikie for noticing!
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 263885
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/lto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 44f7bea2c8c..88b10fdfbbb 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h @@ -564,7 +564,7 @@ lto_codegen_set_should_embed_uselists(lto_code_gen_t cg, * \since LTO_API_VERSION=18 */ typedef struct { - void *Buffer; + const char *Buffer; size_t Size; } LTOObjectBuffer; |