diff options
author | Albion Fung <albion.fung@ibm.com> | 2021-08-20 13:23:32 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2021-08-20 13:24:13 -0400 |
commit | 4bef7a8ff169d6f9a0a253105576ac8a68430702 (patch) | |
tree | 4abcf21b1bd1c11c31ca5f8f6c1f567364abff63 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | b1efeface70c26f2f2e30636943c02f356ce4faa (diff) | |
download | llvm-4bef7a8ff169d6f9a0a253105576ac8a68430702.zip llvm-4bef7a8ff169d6f9a0a253105576ac8a68430702.tar.gz llvm-4bef7a8ff169d6f9a0a253105576ac8a68430702.tar.bz2 |
[libc++][PowerPC] Fix a test case failure when compiled with libcxx
The test case is not ran unless libcxx is used, and a macro
may be undefined. This patch checks for the definition of the
macro before using it.
Fixes http://llvm.org/PR51430
Differential Revision: https://reviews.llvm.org/D108352
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions