add a new method, getPreferredAlignmentLog.
llvm-svn: 25977
This commit is contained in:
parent
1fcff15f86
commit
9d0b2f7b50
|
@ -177,6 +177,10 @@ namespace llvm {
|
|||
///
|
||||
void SwitchSection(const char *NewSection, const GlobalValue *GV);
|
||||
|
||||
/// getPreferredAlignmentLog - Return the preferred alignment of the
|
||||
/// specified global, returned in log form. This includes an explicitly
|
||||
/// requested alignment (if the global has one).
|
||||
unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
|
||||
protected:
|
||||
/// doInitialization - Set up the AsmPrinter when we are working on a new
|
||||
/// module. If your pass overrides this, it must make sure to explicitly
|
||||
|
|
Loading…
Reference in New Issue