diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-04-28 21:49:33 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-04-28 21:49:33 +0000 |
commit | 573c92d8ba1b18c737fe72a644c82ec531418878 (patch) | |
tree | e38e123af997a002496f56dc0d9b17616bb61b2b /lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h | |
parent | 32558650ae09247b31aa89cdee64e8c849771024 (diff) | |
download | external_llvm-573c92d8ba1b18c737fe72a644c82ec531418878.zip external_llvm-573c92d8ba1b18c737fe72a644c82ec531418878.tar.gz external_llvm-573c92d8ba1b18c737fe72a644c82ec531418878.tar.bz2 |
Properly print 'P' modifier on inline asm memory operands.
This should fix PR3379 and PR4064.
Patch inspired by Edwin Török!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h')
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h index 30630e9..65af91a 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h @@ -112,9 +112,9 @@ class VISIBILITY_HIDDEN X86ATTAsmPrinter : public AsmPrinter { void printMachineInstruction(const MachineInstr *MI); void printSSECC(const MachineInstr *MI, unsigned Op); void printMemReference(const MachineInstr *MI, unsigned Op, - const char *Modifier=NULL); + const char *Modifier=NULL, bool NotRIPRel = false); void printLeaMemReference(const MachineInstr *MI, unsigned Op, - const char *Modifier=NULL); + const char *Modifier=NULL, bool NotRIPRel = false); void printPICJumpTableSetLabel(unsigned uid, const MachineBasicBlock *MBB) const; void printPICJumpTableSetLabel(unsigned uid, unsigned uid2, |