diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-14 01:03:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-14 01:03:01 +0000 |
commit | a55ce7febfaa52670ce3d9c236d3033de80ac091 (patch) | |
tree | 5955950569cfe09f083ba0e217a1a8085a844103 /gold/options.h | |
parent | b3c8c50a8f21a913e6c5dc91ff843cd4e924b01a (diff) | |
download | binutils-gdb-a55ce7febfaa52670ce3d9c236d3033de80ac091.tar.gz |
From Craig Silverstein: Rework debug info code a bit, add option for
ODR violations, add test case.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index 4b774ac3b0d..c54af7781d2 100644 --- a/gold/options.h +++ b/gold/options.h @@ -153,6 +153,11 @@ class General_options symbolic() const { return this->symbolic_; } + // --detect-odr-violations: Whether to search for One Defn Rule violations. + bool + detect_odr_violations() const + { return this->detect_odr_violations_; } + // --eh-frame-hdr: Whether to generate an exception frame header. bool create_eh_frame_hdr() const @@ -300,6 +305,10 @@ class General_options { this->symbolic_ = true; } void + set_detect_odr_violations() + { this->detect_odr_violations_ = true; } + + void set_create_eh_frame_hdr() { this->create_eh_frame_hdr_ = true; } @@ -412,6 +421,7 @@ class General_options bool is_relocatable_; Strip strip_; bool symbolic_; + bool detect_odr_violations_; bool create_eh_frame_hdr_; Dir_list rpath_; Dir_list rpath_link_; |