|
16 | 16 |
|
17 | 17 | #include "llvm/ADT/FloatingPointMode.h" |
18 | 18 | #include "llvm/MC/MCTargetOptions.h" |
| 19 | +#include "llvm/Support/Compiler.h" |
19 | 20 |
|
20 | 21 | #include <memory> |
21 | 22 |
|
@@ -158,12 +159,12 @@ class TargetOptions { |
158 | 159 |
|
159 | 160 | /// DisableFramePointerElim - This returns true if frame pointer elimination |
160 | 161 | /// optimization should be disabled for the given machine function. |
161 | | - bool DisableFramePointerElim(const MachineFunction &MF) const; |
| 162 | + LLVM_ABI bool DisableFramePointerElim(const MachineFunction &MF) const; |
162 | 163 |
|
163 | 164 | /// FramePointerIsReserved - This returns true if the frame pointer must |
164 | 165 | /// always either point to a new frame record or be un-modified in the given |
165 | 166 | /// function. |
166 | | - bool FramePointerIsReserved(const MachineFunction &MF) const; |
| 167 | + LLVM_ABI bool FramePointerIsReserved(const MachineFunction &MF) const; |
167 | 168 |
|
168 | 169 | /// If greater than 0, override the default value of |
169 | 170 | /// MCAsmInfo::BinutilsVersion. |
@@ -219,7 +220,7 @@ class TargetOptions { |
219 | 220 | /// truncations). If this is enabled (set to true), the code generator must |
220 | 221 | /// assume that the rounding mode may dynamically change. |
221 | 222 | unsigned HonorSignDependentRoundingFPMathOption : 1; |
222 | | - bool HonorSignDependentRoundingFPMath() const; |
| 223 | + LLVM_ABI bool HonorSignDependentRoundingFPMath() const; |
223 | 224 |
|
224 | 225 | /// NoZerosInBSS - By default some codegens place zero-initialized data to |
225 | 226 | /// .bss section. This flag disables such behaviour (necessary, e.g. for |
@@ -346,7 +347,7 @@ class TargetOptions { |
346 | 347 | unsigned EnableDebugEntryValues : 1; |
347 | 348 | /// NOTE: There are targets that still do not support the debug entry values |
348 | 349 | /// production. |
349 | | - bool ShouldEmitDebugEntryValues() const; |
| 350 | + LLVM_ABI bool ShouldEmitDebugEntryValues() const; |
350 | 351 |
|
351 | 352 | // When set to true, use experimental new debug variable location tracking, |
352 | 353 | // which seeks to follow the values of variables rather than their location, |
@@ -450,7 +451,7 @@ class TargetOptions { |
450 | 451 |
|
451 | 452 | DenormalMode getRawFP32DenormalMode() const { return FP32DenormalMode; } |
452 | 453 |
|
453 | | - DenormalMode getDenormalMode(const fltSemantics &FPType) const; |
| 454 | + LLVM_ABI DenormalMode getDenormalMode(const fltSemantics &FPType) const; |
454 | 455 |
|
455 | 456 | /// What exception model to use |
456 | 457 | ExceptionHandling ExceptionModel = ExceptionHandling::None; |
|
0 commit comments