mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
add a way to disable all builtins, wire it up to opt's -disable-simplifylibcalls flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125978 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -55,6 +55,10 @@ public:
|
||||
void setAvailable(LibFunc::Func F) {
|
||||
AvailableArray[F/8] |= 1 << (F&7);
|
||||
}
|
||||
|
||||
/// disableAllFunctions - This disables all builtins, which is used for
|
||||
/// options like -fno-builtin.
|
||||
void disableAllFunctions();
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
||||
Reference in New Issue
Block a user