aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-04-18 17:14:09 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-04-18 17:14:09 -0400
commitca4341f7ba845e7af3c6f2be52cd60c51ec6d68f (patch)
tree683912e826b022abb51016f09b2d23b74c7ffed8 /src/all_types.hpp
parentf1f998e07124f141312289ff82e0ad8d99af1cf7 (diff)
downloadzig-ca4341f7ba845e7af3c6f2be52cd60c51ec6d68f.tar.gz
zig-ca4341f7ba845e7af3c6f2be52cd60c51ec6d68f.zip
add --no-rosegment cli option
this provides a workaround for #896 until valgrind adds support for clang/LLD (equivalent to gcc/gold -rosegment)
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index 5a3590dd4d..88e0ba27a8 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -1705,6 +1705,8 @@ struct CodeGen {
ZigList<ZigLLVMDIType **> error_di_types;
ZigList<Buf *> forbidden_libs;
+
+ bool no_rosegment_workaround;
};
enum VarLinkage {