summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-10-24 16:19:56 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-10-24 16:19:56 +0000
commitfb490a0bcc391cfc8f9d4bffc3e977232ac77808 (patch)
tree9a01debe5cfd9c61e811b85e5a1a2bf98f55ed99 /llvm/lib/Target
parentd232e2c726836dedd57dded805ffbeead1db8fc1 (diff)
downloadbcm5719-llvm-fb490a0bcc391cfc8f9d4bffc3e977232ac77808.tar.gz
bcm5719-llvm-fb490a0bcc391cfc8f9d4bffc3e977232ac77808.zip
PowerPC: support the separator character in the IAS
PowerPC uses ; as a comment leader and the @ as a separator character. Support this properly. llvm-svn: 316454
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp b/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
index d30bf1a56e8..8ac461b96b8 100644
--- a/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
@@ -24,6 +24,7 @@ PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit, const Triple& T) {
}
IsLittleEndian = false;
+ SeparatorString = "@";
CommentString = ";";
ExceptionsType = ExceptionHandling::DwarfCFI;
OpenPOWER on IntegriCloud