aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAlbion Fung <albion.fung@ibm.com>2021-08-20 13:23:32 -0400
committerLouis Dionne <ldionne.2@gmail.com>2021-08-20 13:24:13 -0400
commit4bef7a8ff169d6f9a0a253105576ac8a68430702 (patch)
tree4abcf21b1bd1c11c31ca5f8f6c1f567364abff63 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb1efeface70c26f2f2e30636943c02f356ce4faa (diff)
downloadllvm-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