diff options
Diffstat (limited to 'clang/lib/Basic/Targets/OSTargets.h')
| -rw-r--r-- | clang/lib/Basic/Targets/OSTargets.h | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/clang/lib/Basic/Targets/OSTargets.h b/clang/lib/Basic/Targets/OSTargets.h index 70fac030bc5d8..cfa362bef1b1c 100644 --- a/clang/lib/Basic/Targets/OSTargets.h +++ b/clang/lib/Basic/Targets/OSTargets.h @@ -87,7 +87,7 @@ protected:  public:    DarwinTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)        : OSTargetInfo<Target>(Triple, Opts) { -    // By default, no TLS, and we whitelist permitted architecture/OS +    // By default, no TLS, and we list permitted architecture/OS      // combinations.      this->TLSSupported = false; @@ -706,6 +706,8 @@ protected:  public:    AIXTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)        : OSTargetInfo<Target>(Triple, Opts) { +    this->TheCXXABI.set(TargetCXXABI::XL); +      if (this->PointerWidth == 64) {        this->WCharType = this->UnsignedInt;      } else { @@ -819,7 +821,7 @@ class LLVM_LIBRARY_VISIBILITY WebAssemblyOSTargetInfo      : public OSTargetInfo<Target> {  protected:    void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, -                    MacroBuilder &Builder) const { +                    MacroBuilder &Builder) const override {      // A common platform macro.      if (Opts.POSIXThreads)        Builder.defineMacro("_REENTRANT"); | 
